This example shows how use the client-side ASPxClientDasard.ItemClick event to get data from a clicked dasard item.
The ItemClick
event handler receives arguments of the ASPxClientDasardItemClickEventArgs type that allows you to get data displayed in a clicked item: grid rows, series points, cards. Note that some dasard items display multidimensional data. See the Obtaining Underlying and Displayed Data help topic for more information about the general data structure.
Follow the steps below to get data from a clicked dasard item:
- Call the GetData method to request the ASPxClientDasardItemData object that contains information about the item data.
- Call the GetAxisNames method to get a list of displayed axes.
- Use the GetDimensions and GetAxisPoint methods to get information about dimensions that correspond to each axis.
- Use the GetSlice method to get a data slice that corresponds to the target item's element and call the GetMeasureValue method to get the last level's measure values in the slice.
- Client Side API Overview for ASP.NET Web Forms Dasard
- Obtain Underlying and Displayed Data in ASP.NET Web Forms Dasard Control
- Dasard for ASP.NET Core - How to obtain a dasard item's client data
- Dasard for ASP.NET Core - How to obtain a dasard item's underlying data for a clicked visual element
- Dasard for ASP.NET Core - How to obtain underlying data for the specified dasard item
- Dasard for Web Forms - How to obtain a dasard item's client data
- Dasard for Web Forms - How to obtain a dasard item's underlying data for a clicked visual element
- Dasard for Web Forms - How to obtain underlying data for the specified dasard item
(you will be redirected to DevExpress.com to submit your response)