Back to Devexpress

ASPxRatingControl.ItemClick Event

aspnet-devexpress-dot-web-dot-aspxratingcontrol-ae79be06.md

latest2.0 KB
Original Source

ASPxRatingControl.ItemClick Event

Fires after an item has been clicked.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event RatingControlItemEventHandler ItemClick
vb
Public Event ItemClick As RatingControlItemEventHandler

Event Data

The ItemClick event's data class is RatingControlItemEventArgs. The following properties provide information specific to this event:

PropertyDescription
ItemIndexGets the clicked item’s index.

Remarks

Write an ItemClick event handler to perform specific actions on the server side each time an item is clicked within the ASPxRatingControl. Note that this event fires immediately after the left mouse button is released. If the button is released when the mouse pointer is not over an item, the event doesn’t fire. You can use the event parameter’s property to identify the clicked item.

See Also

ItemClick

Rating Control

ASPxRatingControl Class

ASPxRatingControl Members

DevExpress.Web Namespace