ASP.NET AJAX Control Toolkit Demos v17.1.1.0

Rating Sample
Ajax Control Toolkit
Rating Demonstration
How spicy do you like your Thai food?  
Alignment:
Direction:



[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
Copyright © 2012-2017 CodePlex Foundation. All Rights Reserved.