ASPxDashboard.DashboardAdding Event
Allows you to add a new dashboard to the dashboard storage at runtime.
Namespace: DevExpress.DashboardWeb
Assembly: DevExpress.Dashboard.v24.2.Web.WebForms.dll
Declaration
Event Data
The DashboardAdding event's data class is DashboardAddingWebEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
DashboardId | Gets or sets the dashboard identifier. |
DashboardName | Gets the name of the dashboard. |
DashboardXml | Gets the dashboard XML definition. |
Handled | Gets or sets whether default actions are required to add the dashboard to a storage. |
Remarks
The DashboardAdding event is raised when a dashboard needs to be added to the dashboard storage (for instance, an end-user creates a new dashboard). Use the DashboardAddingWebEventArgs.DashboardXml/DashboardAddingWebEventArgs.DashboardId event parameters to add the dashboard with the specified identifier to a storage. Then, set the DashboardAddingWebEventArgs.Handled property to true to specify that no default actions are required to add the dashboard.
DashboardAdding can be used along with the following events to manage dashboards within a storage.