Skip to content
MikhailTymchukDX edited this page Aug 24, 2016 · 3 revisions

Demo Page

The Rating control provides intuitive rating experience that allows users to select the number of stars that represents their rating

Properties

Name Description
AutoPostBack Set to True to cause a postback on a rating item click
BehaviorID ID of the behavior object
CurrentRating An Initial rating value
EmptyStarCssClass A CSS class for a star in empty mode
FilledStarCssClass A CSS class for a star in filled mode
ID Rating control ID
MaxRating Maximum rating value
RatingAlign Alignment of the stars (Vertical or Horizontal)
RatingDirection Orientation of stars (LeftToRightTopToBottom or RightToLeftBottomToTop)
ReadOnly Whether or not the rating can be changed
StarCssClass A CSS class for a visible star
Tag A custom parameter to pass to ClientCallBack
WaitingStarCssClass A CSS class for a star in waiting mode

Methods

Name Description
GetCallbackResult() Returns a callback result
RaiseCallbackEvent(eventArgument) Raises the callback event
RaisePostBackEvent(eventArgument) Raises the postback event

Events

Name Description
Changed Fires when rating is changed
Click Fires when rating is set

Methods

GetCallbackResult()

Returns a callback result

RaiseCallbackEvent(eventArgument)

Raises the callback event

Params:

  • eventArgument
    • Type: String
    • Description: Event argument

RaisePostBackEvent(eventArgument)

Raises the postback event

Params:

  • eventArgument
    • Type: String
    • Description: Event argument
Clone this wiki locally