Back to Devexpress

ASPxDashboard.DashboardLoading Event

dashboard-devexpress-dot-dashboardweb-dot-aspxdashboard-0be8d98b.md

latest2.8 KB
Original Source

ASPxDashboard.DashboardLoading Event

Allows you to load a dashboard at runtime.

Namespace : DevExpress.DashboardWeb

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

NuGet Package : DevExpress.Web.Dashboard

Declaration

csharp
public event DashboardLoadingWebEventHandler DashboardLoading
vb
Public Event DashboardLoading As DashboardLoadingWebEventHandler

Event Data

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

PropertyDescription
DashboardIdGets the dashboard identifier.
DashboardXmlGets or sets the dashboard XML definition.

Remarks

The DashboardLoading event is raised when the ASPxDashboard loads a dashboard allowing you to provide dashboard XML definition at runtime. Use the event parameter’s DashboardLoadingWebEventArgs.DashboardId property to identify which dashboard should be loaded. Then, assign the appropriate dashboard XML definition to the DashboardLoadingWebEventArgs.DashboardXml property.

DashboardLoading can be used along with the following events to manage dashboards within a storage.

See Also

Dashboard for ASP.NET Web Forms - How to customize a dashboard before displaying it in a browser

Dashboard for ASP.NET MVC - How to customize a dashboard before displaying it in a browser

ASPxDashboard Class

ASPxDashboard Members

DevExpress.DashboardWeb Namespace