ASP.NET AJAX Control Toolkit Demos
v20.1.0.0
Rating Sample
Samples
HOME
Accordion
AjaxFileUpload
AlwaysVisibleControl
Animation
AreaChart
AsyncFileUpload
AutoComplete
BalloonPopup
BarChart
BubbleChart
Calendar
CascadingDropDown
CollapsiblePanel
ColorPicker
ComboBox
ConfirmButton
DragPanel
DropDown
DropShadow
DynamicPopulate
FilteredTextBox
Gravatar
HoverMenu
HtmlEditorExtender
LineChart
ListSearch
MaskedEdit
ModalPopup
MultiHandleSlider
MutuallyExclusiveCheckBox
NoBot
NumericUpDown
PagingBulletedList
PasswordStrength
PieChart
PopupControl
Rating
ReorderList
ResizableControl
RoundedCorners
Seadragon
Slider
SlideShow
Tabs
TextBoxWatermark
ToggleButton
Twitter
UpdatePanelAnimation
ValidatorCallout
Rating Demonstration
How spicy do you like your Thai food?
Alignment:
Horizontal
Vertical
Direction:
Left to Right or Top to Bottom
Right to Left or Bottom to Top
[No response provided yet]
Rating Description
The Rating control provides intuitive rating experience that allows users to select the number of stars that represents their rating
Rating Properties
Properties
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
GetCallbackResult()
- Returns a callback result
RaiseCallbackEvent(eventArgument)
- Raises the callback event
RaisePostBackEvent(eventArgument)
- Raises the postback event
Events
Changed
- Fires when rating is changed
Click
- Fires when rating is set