Click or drag to resize
KaxRating Properties

The KaxRating type exposes the following members.

Properties
  Name Description
Public property AutoPostBack
Get/Set a value indicating whether the KaxRating control will initiate a postback after its value changes.
Public property Code example DbValue
Gets or sets the value of KaxRating in a database-friendly way.
Public property EnableToolTips
Get/Set a value indicating whether the KaxRating control will display a browser toolip for its values.
Public property IsDirectionReversed
Get/Set the direction of the KaxRating control, that is, the position of the item (star) with value 1.
Public property ItemCount
Get/Set the number of items in the KaxRating control - e.g. the number of stars that the control will have.
Public property ItemHeight
Get/Set the height of each item in the KaxRating control.
Public property Items
Gets a KaxRatingItemCollection object that contains the items of the current KaxRating control.
Public property ItemWidth
Get/Set the width of each item in the KaxRating control.
Public property Code example OnClientLoad
Gets or sets a value indicating the client-side event handler that is called when the KaxRating control is initialized.
Public property Code example OnClientRated
Gets or sets a value indicating the client-side event handler that is called when the user clicks an item (star) of the KaxRating control.
Public property Code example OnClientRating
Gets or sets a value indicating the client-side event handler that is called when the user clicks an item (star) of the KaxRating control, but before the new value is set.
Public property Orientation
Get/Set the orientation of the KaxRating control.
Public property Precision
Get/Set the rating precision for the KaxRating control - the precision with which the user can rate.
Public property ReadOnly
Get/Set a value indicating whether the KaxRating control is in read-only mode.
Public property SelectedItem
Gets a KaxRatingItem object that represents the selected item in the KaxRating control in case Items collection of the control is not empty.
Public property SelectedItems
Gets a KaxRatingItemCollection object that contains the selected items in the KaxRating control. The collection is empty in case there are no items in the Items collection of the control.
Public property SelectionMode
Get/Set the selection mode for the KaxRating control - when the user rates, either mark a single item (star) as selected or all items(stars) from the first to the selected one.
Public property Value
Get/Set the current rating for the KaxRating control.
Top
See Also