How to: Specify the Default Name for User-Defined Reports
This example demonstrates how to change the default name of user-defined reports in WinForms and ASP.NET applications. Mobile applications do not allow user to create a new report in runtime, so the approach described in this topic cannot be implemented in the Mobile platform.
Public Overrides Sub Setup(ByVal application As XafApplication)
AddHandler ReportServiceController.QueryRootReportComponentName, Sub(sender As Object, e As QueryRootReportComponentNameEventArgs)
e.Handled = True
e.Name = "MyNewReport"
The result is demonstrated in the image below.
Was this page helpful?
Thanks for your feedback! Any other suggestions? Tell us here.