Table of Contents

Class Rating

Namespace
AjaxControlToolkit
Assembly
AjaxControlToolkit.dll
public class Rating : Panel, ICallbackEventHandler, IPostBackEventHandler
Inheritance
Rating
Implements
ICallbackEventHandler
IPostBackEventHandler

Constructors

Rating()

public Rating()

Properties

AutoPostBack

[ClientPropertyName("autoPostBack")]
public bool AutoPostBack { get; set; }

Property Value

bool

BehaviorID

[Browsable(true)]
public string BehaviorID { get; set; }

Property Value

string

CurrentRating

[Browsable(true)]
[Bindable(true, BindingDirection.TwoWay)]
public int CurrentRating { get; set; }

Property Value

int

EmptyStarCssClass

[Browsable(true)]
[ClientPropertyName("emptyStarCssClass")]
public string EmptyStarCssClass { get; set; }

Property Value

string

FilledStarCssClass

[Browsable(true)]
[ClientPropertyName("filledStarCssClass")]
public string FilledStarCssClass { get; set; }

Property Value

string

ID

public override string ID { get; set; }

Property Value

string

MaxRating

[Browsable(true)]
[Bindable(true, BindingDirection.TwoWay)]
[ClientPropertyName("maxRating")]
public int MaxRating { get; set; }

Property Value

int

RatingAlign

[Browsable(true)]
public Orientation RatingAlign { get; set; }

Property Value

Orientation

RatingDirection

[Browsable(true)]
[ClientPropertyName("ratingDirection")]
public RatingDirection RatingDirection { get; set; }

Property Value

RatingDirection

ReadOnly

[Browsable(true)]
[Bindable(true, BindingDirection.TwoWay)]
[ClientPropertyName("readOnly")]
public bool ReadOnly { get; set; }

Property Value

bool

StarCssClass

[Browsable(true)]
[ClientPropertyName("starCssClass")]
public string StarCssClass { get; set; }

Property Value

string

Tag

[Browsable(true)]
[Bindable(true, BindingDirection.TwoWay)]
[ClientPropertyName("tag")]
public string Tag { get; set; }

Property Value

string

WaitingStarCssClass

[Browsable(true)]
[ClientPropertyName("waitingStarCssClass")]
public string WaitingStarCssClass { get; set; }

Property Value

string

Methods

CreateChildControls()

protected override void CreateChildControls()

GetCallbackResult()

public string GetCallbackResult()

Returns

string

OnChanged(RatingEventArgs)

protected virtual void OnChanged(RatingEventArgs e)

Parameters

e RatingEventArgs

OnClick(RatingEventArgs)

protected virtual void OnClick(RatingEventArgs e)

Parameters

e RatingEventArgs

OnLoad(EventArgs)

protected override void OnLoad(EventArgs e)

Parameters

e EventArgs

RaiseCallbackEvent(string)

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

Changed

public event RatingEventHandler Changed

Event Type

RatingEventHandler

Click

public event RatingEventHandler Click

Event Type

RatingEventHandler