Back to Devexpress

ASPxDashboard.DashboardSaving Event

dashboard-devexpress-dot-dashboardweb-dot-aspxdashboard-2e9e4dd3.md

latest2.6 KB
Original Source

ASPxDashboard.DashboardSaving Event

Allows you to save a dashboard at runtime.

Namespace : DevExpress.DashboardWeb

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

NuGet Package : DevExpress.Web.Dashboard

Declaration

csharp
public event DashboardSavingWebEventHandler DashboardSaving
vb
Public Event DashboardSaving As DashboardSavingWebEventHandler

Event Data

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

PropertyDescription
DashboardIdGets the dashboard identifier.
DashboardXmlGets the dashboard XML definition.
HandledGets or sets whether default actions are required to save the dashboard.

Remarks

The DashboardSaving event is raised when a dashboard needs to be saved (for instance, an end-user saves a current dashboard). The DashboardSavingWebEventArgs.DashboardId and DashboardSavingWebEventArgs.DashboardXml event parameters return the dashboard identifier and XML definition, respectively. Set the DashboardSavingEventArgs.Handled property to true to specify that no default actions are required to save the dashboard.

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

See Also

ASPxDashboard Class

ASPxDashboard Members

DevExpress.DashboardWeb Namespace