Allows you to load a dashboard at runtime.
public event DashboardLoadingEventHandler DashboardLoading
Public Event DashboardLoading As DashboardLoadingEventHandler
The DashboardLoading event handler receives an argument of the DashboardLoadingEventArgs type. The following properties provide information specific to this event.
|DashboardId||Gets the identifier of the required dashboard.|
|DashboardType||Gets or sets the type of the dashboard created at design time.|
|DashboardXml||Gets or sets the dashboard XML definition.|
The DashboardLoading event is raised when the ASPxDashboardViewer loads a dashboard allowing you to provide dashboard XML definition at runtime.
Use the event parameter's DashboardLoadingEventArgs.DashboardId property to identify which dashboard should be loaded. Then, assign the appropriate dashboard XML definition to the DashboardLoadingEventArgs.DashboardXml property.