ASPxClientDashboardViewer.ItemBeforeWidgetDisposed Event

Allows you to access underlying UI/Data Visualization widgets.

Namespace: DevExpress.DashboardWeb.Scripts

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

Syntax

public event ASPxClientDashboardItemBeforeWidgetDisposedEventHandler ItemBeforeWidgetDisposed

The event handler receives an argument of the ASPxClientDashboardItemBeforeWidgetDisposedEventHandler type.

The Web Viewer uses DevExtreme UI widgets to visualize data within dashboard items. The ASPxClientDashboardViewer.ItemWidgetCreated event allows you to access these widgets and customize their settings if necessary.

Use the ASPxClientDashboardItemWidgetEventArgs.GetWidget method to access the corresponding underlying widget. You can change the widget's setting or handle its events. To unsubscribe from widget events, handle the ItemBeforeWidgetDisposed event.

To learn more, see Access to Underlying Widgets.

See Also