Back to Devexpress

ASPxDashboard.DashboardAdding Event

dashboard-devexpress-dot-dashboardweb-dot-aspxdashboard-d133d37b.md

latest3.1 KB
Original Source

ASPxDashboard.DashboardAdding Event

Allows you to add a new dashboard to the dashboard storage at runtime.

Namespace : DevExpress.DashboardWeb

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

NuGet Package : DevExpress.Web.Dashboard

Declaration

csharp
public event DashboardAddingWebEventHandler DashboardAdding
vb
Public Event DashboardAdding As DashboardAddingWebEventHandler

Event Data

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

PropertyDescription
DashboardIdGets or sets the dashboard identifier.
DashboardNameGets the name of the dashboard.
DashboardXmlGets the dashboard XML definition.
HandledGets 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.

See Also

ASPxDashboard Class

ASPxDashboard Members

DevExpress.DashboardWeb Namespace