Page 1 of 1

Design Template

Posted: Mon Apr 09, 2007 5:46 am
by satisht
How to design the template at run time?

Design Template

Posted: Mon Apr 09, 2007 6:18 am
by Edward
Please use the following code:

Code: Select all

StiReport report = new StiReport();
report.Load("D:\\MyReport.mrt");
report.Design();
Thank you.

Design Template

Posted: Mon Apr 09, 2007 6:32 am
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?

Design Template

Posted: Mon Apr 09, 2007 6:54 am
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.

Design Template

Posted: Mon Apr 09, 2007 7:25 am
by satisht
Thank You