ASPxClientDashboardViewer.ItemClick Event

Occurs when an end-user clicks a dashboard item.

Namespace: DevExpress.DashboardWeb.Scripts

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

Declaration

public event ASPxClientDashboardItemClickEventHandler ItemClick
Public Event ItemClick As ASPxClientDashboardItemClickEventHandler

Event Data

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

Property Description
ItemName Gets the name of the dashboard item for which the event has been raised.

Remarks

Use the ASPxClientDashboardItemClickEventArgs.ItemName event parameter to obtain the dashboard item name for which the event has been raised.

The ASPxClientDashboardItemClickEventArgs.GetAxisPoint allows you to obtain the axis point corresponding to the clicked visual element. Use the ASPxClientDashboardItemClickEventArgs.RequestUnderlyingData method to request the underlying data related to this visual element.

The ASPxClientDashboardItemClickEventArgs.GetData method returns the client data for this dashboard item.

Note

Note that the ItemClick event is raised if an end-user clicks a specific visual element within the dashboard item (for instance, a Chart series point or an individual Card). If an end-user click an empty space, the event will not be raised. To learn how to overcome this limitation, see Web Dashboards do not raise the ItemClick event when an end-user clicks an empty space in Chart or Pie items.

See Also