Skip to main content
A newer version of this page is available. .
Tab

ASPxRatingControl Class

Represents a rating control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public class ASPxRatingControl :
    ASPxWebControl,
    IRequiresLoadPostDataControl

Remarks

The ASPxRatingControl class implements the functionality of a rating control, which enables end-users to rate by selecting a number of items (stars).

ASPxRatingControl_control

The appearance of the control can be customized using the standard control properties.

Items within the control can be customized by using the following item characteristics: item images (the ASPxRatingControl.ImageMapUrl property along with the ASPxRatingControl.ItemWidth and ASPxRatingControl.ItemHeight properties), titles of items (the ASPxRatingControl.Titles property), if it is a fractional number, the way in which items are filled to represent the control’s value (the ASPxRatingControl.FillPrecision property).

The control’s value is specified via the ASPxRatingControl.Value property.

Note

The client-side equivalent of this rating control is represented by the ASPxClientRatingControl object. The control’s client-side API is enabled if the ASPxRatingControl.ClientInstanceName property is defined or any client event is handled. Available client events can be accessed via the ASPxRatingControl.ClientSideEvents property.

See Also