Design Template

Stimulsoft Reports.NET discussion
Post Reply
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Design Template

Post by satisht »

How to design the template at run time?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Design Template

Post by Edward »

Please use the following code:

Code: Select all

StiReport report = new StiReport();
report.Load("D:\\MyReport.mrt");
report.Design();
Thank you.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Design Template

Post by satisht »

Is it possible to change the template through coding? Have you provided classes to do so?
Do we create .mrt file at runtime?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Design Template

Post by Edward »

Yes, it is possible.

Please see the example RuntimeBuild report from the standard delivery of the StimulReport.Net.
satisht wrote:Do we create .mrt file at runtime?
It is doesn't matter when you are creating an mrt file. You can create it in runtime, in Visual Studio or in the Demo.exe Application. When the template is created

Thank you.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Design Template

Post by satisht »

Thank You
Post Reply