Occurs when a report is about to be opened in the Web Report Designer.
public event ASPxClientReportDesignerReportOpeningEventHandler ReportOpening
Public Event ReportOpening As ASPxClientReportDesignerReportOpeningEventHandler
The ReportOpening event handler receives an argument of the ASPxClientReportDesignerDialogCancelEventArgs type. The following properties provide information specific to this event.
|Cancel||Specifies whether or not the operation performed with a report should be canceled.|
|Report||Specifies the report currently being processed.|
|Url||Specifies the URL of the report currently being processed.|
Handle the ReportOpening event to perform required actions before a report is opened in the Web Report Designer.
This event fires in the following cases:
To prevent the report from being opened, set the ASPxClientReportDesignerDialogCancelEventArgs.Cancel property of an event argument to true.
The following example demonstrates how to use this event to prohibit opening reports with URLs containing a specific substring.
To customize the report after it has been opened, handle the ASPxClientReportDesigner.ReportOpened event.