ASPxDashboard.DashboardAdding Event

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

Namespace: DevExpress.DashboardWeb

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


public event DashboardAddingWebEventHandler DashboardAdding
Public Event DashboardAdding As DashboardAddingWebEventHandler

The event handler receives an argument of the DashboardAddingWebEventHandler type.

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