Izenda, LLC

Ad Hoc Reports & Dashboards for ASP.NET Apps

Free Trial

Izenda Reports is licensed on a "per user" or "per server" basis. Please complete this form to receive a price quote.

All fields are required.

The live demo demonstrates Izenda reports with the Northwind Sample database. To login, please register below.

All fields are required.

Please register to try Izenda reports on your data today.

All fields are required.

Dynamically Replacing the Report Title

Expand / Collapse
 

Dynamically Replacing the Report Title


You can customize the report title by creating a token to be dynamically replaced when the report is run or exported. 
In the global.asax file, find the PreExecuteReportSet method. The code sample is below.

public override void PreExecuteReportSet(Izenda.AdHoc.ReportSet reportSet)
{
reportSet.Title = reportSet.Title.Replace("{test}", String.Format("{0: MMMM yyyy}", DateTime.Now));

}

To use this code sample, simply enter "{test}" into the title field in the Misc tab in the report designer. In the code sample above, the token will be dynmically replaced with the date.






Details
Type: FAQ
Options