Skip to main content
A newer version of this page is available. .

ASPxDashboardViewer.DashboardLoading Event

Allows you to load a dashboard at runtime.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v18.2.Web.WebForms.dll

Declaration

public event DashboardLoadingEventHandler DashboardLoading

Event Data

The DashboardLoading event's data class is DashboardLoadingEventArgs. The following properties provide information specific to this event:

Property Description
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.

Remarks

The DashboardLoading event is raised when the ASPxDashboardViewer loads a dashboard allowing you to provide dashboard XML definition at runtime.

Note

The DashboardLoading event is raised only if the ASPxDashboardViewer has a ASPxDashboardViewer.DashboardId assigned.

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.

See Also