Page 1 of 1

How to change properties of .mrt while rendering

Posted: Tue Nov 22, 2011 7:03 am
by Ipad
Dear Stimulsoft - Team,

i tried to change the properties of my .mrt.
The properties "reportName" and "description" have to be changed dynamically.
I need access to these two properties on runtime to set them while rendering the report.

Best Regards,
Ipad

How to change properties of .mrt while rendering

Posted: Wed Nov 23, 2011 2:13 am
by HighAley
Hello.
Ipad wrote:i tried to change the properties of my .mrt.
The properties "reportName" and "description" have to be changed dynamically.
I need access to these two properties on runtime to set them while rendering the report.
Please, try to use next code:

Code: Select all

rep.ReportName = "Your name";
rep.ReportDescription = "Your Description";
Thank you.