How to change properties of .mrt while rendering

Stimulsoft Reports.NET discussion
Post Reply
Ipad
Posts: 17
Joined: Mon Jul 05, 2010 3:29 am
Location: Köln

How to change properties of .mrt while rendering

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

How to change properties of .mrt while rendering

Post 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.
Post Reply