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

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