Class Rating

Inheritance
System.Object
Rating
Implements
System.Web.UI.ICallbackEventHandler
System.Web.UI.IPostBackEventHandler
Namespace: AjaxControlToolkit
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
Syntax
public class Rating : Panel, ICallbackEventHandler, IPostBackEventHandler

Constructors

Rating()

Declaration
public Rating()

Properties

AutoPostBack

Declaration
public bool AutoPostBack { get; set; }
Property Value
Type Description
System.Boolean

BehaviorID

Declaration
public string BehaviorID { get; set; }
Property Value
Type Description
System.String

CurrentRating

Declaration
public int CurrentRating { get; set; }
Property Value
Type Description
System.Int32

EmptyStarCssClass

Declaration
public string EmptyStarCssClass { get; set; }
Property Value
Type Description
System.String

FilledStarCssClass

Declaration
public string FilledStarCssClass { get; set; }
Property Value
Type Description
System.String

ID

Declaration
public override string ID { get; set; }
Property Value
Type Description
System.String

MaxRating

Declaration
public int MaxRating { get; set; }
Property Value
Type Description
System.Int32

RatingAlign

Declaration
public Orientation RatingAlign { get; set; }
Property Value
Type Description
System.Web.UI.WebControls.Orientation

RatingDirection

Declaration
public RatingDirection RatingDirection { get; set; }
Property Value
Type Description
RatingDirection

ReadOnly

Declaration
public bool ReadOnly { get; set; }
Property Value
Type Description
System.Boolean

StarCssClass

Declaration
public string StarCssClass { get; set; }
Property Value
Type Description
System.String

Tag

Declaration
public string Tag { get; set; }
Property Value
Type Description
System.String

WaitingStarCssClass

Declaration
public string WaitingStarCssClass { get; set; }
Property Value
Type Description
System.String

Methods

CreateChildControls()

Declaration
protected override void CreateChildControls()

GetCallbackResult()

Declaration
public string GetCallbackResult()
Returns
Type Description
System.String

OnChanged(RatingEventArgs)

Declaration
protected virtual void OnChanged(RatingEventArgs e)
Parameters
Type Name Description
RatingEventArgs e

OnLoad(EventArgs)

Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

RaiseCallbackEvent(String)

Declaration
public void RaiseCallbackEvent(string eventArgument)
Parameters
Type Name Description
System.String eventArgument

RaisePostBackEvent(String)

Declaration
public void RaisePostBackEvent(string eventArgument)
Parameters
Type Name Description
System.String eventArgument

RenderContents(HtmlTextWriter)

Declaration
protected override void RenderContents(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

Events

Changed

Declaration
public event RatingEventHandler Changed
Event Type
Type Description
RatingEventHandler

Implements

System.Web.UI.ICallbackEventHandler
System.Web.UI.IPostBackEventHandler