Class Rating
- Namespace
- AjaxControlToolkit
- Assembly
- AjaxControlToolkit.dll
public class Rating : Panel, ICallbackEventHandler, IPostBackEventHandler
- Inheritance
-
Rating
- Implements
-
ICallbackEventHandler
IPostBackEventHandler
Constructors
Properties
AutoPostBack
[ClientPropertyName("autoPostBack")]
public bool AutoPostBack { get; set; }
Property Value
- bool
[Browsable(true)]
public string BehaviorID { get; set; }
Property Value
- string
[Browsable(true)]
[Bindable(true, BindingDirection.TwoWay)]
public int CurrentRating { get; set; }
Property Value
- int
[Browsable(true)]
[ClientPropertyName("emptyStarCssClass")]
public string EmptyStarCssClass { get; set; }
Property Value
- string
[Browsable(true)]
[ClientPropertyName("filledStarCssClass")]
public string FilledStarCssClass { get; set; }
Property Value
- string
public override string ID { get; set; }
Property Value
- string
[Browsable(true)]
[Bindable(true, BindingDirection.TwoWay)]
[ClientPropertyName("maxRating")]
public int MaxRating { get; set; }
Property Value
- int
[Browsable(true)]
public Orientation RatingAlign { get; set; }
Property Value
- Orientation
[Browsable(true)]
[ClientPropertyName("ratingDirection")]
public RatingDirection RatingDirection { get; set; }
Property Value
- RatingDirection
[Browsable(true)]
[Bindable(true, BindingDirection.TwoWay)]
[ClientPropertyName("readOnly")]
public bool ReadOnly { get; set; }
Property Value
- bool
[Browsable(true)]
[ClientPropertyName("starCssClass")]
public string StarCssClass { get; set; }
Property Value
- string
[Browsable(true)]
[Bindable(true, BindingDirection.TwoWay)]
[ClientPropertyName("tag")]
public string Tag { get; set; }
Property Value
- string
[Browsable(true)]
[ClientPropertyName("waitingStarCssClass")]
public string WaitingStarCssClass { get; set; }
Property Value
- string
Methods
protected override void CreateChildControls()
public string GetCallbackResult()
Returns
- string
protected virtual void OnChanged(RatingEventArgs e)
Parameters
e
RatingEventArgs
protected virtual void OnClick(RatingEventArgs e)
Parameters
e
RatingEventArgs
protected override void OnLoad(EventArgs e)
Parameters
e
EventArgs
public void RaiseCallbackEvent(string eventArgument)
Parameters
eventArgument
string
RaisePostBackEvent(string)
public void RaisePostBackEvent(string eventArgument)
Parameters
eventArgument
string
RenderContents(HtmlTextWriter)
protected override void RenderContents(HtmlTextWriter writer)
Parameters
writer
HtmlTextWriter
Events
public event RatingEventHandler Changed
Event Type
- RatingEventHandler
public event RatingEventHandler Click
Event Type
- RatingEventHandler