ASPxClientDashboardViewer.ItemBeforeWidgetDisposed Event

Allows you to access underlying UI/Data Visualization widgets.

Namespace: DevExpress.DashboardWeb.Scripts

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


public event ASPxClientDashboardItemBeforeWidgetDisposedEventHandler ItemBeforeWidgetDisposed
Public Event ItemBeforeWidgetDisposed As ASPxClientDashboardItemBeforeWidgetDisposedEventHandler

Event Data

The ItemBeforeWidgetDisposed event handler receives an argument of the ASPxClientDashboardItemWidgetEventArgs type. The following properties provide information specific to this event.

Property Description
ItemName Gets the component name of the dashboard item for which the event was raised.


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