Class
RadRating

A simple control wrapper for the RadRating for the ASP.NET AJAX.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class RadRating : HtmlDiv

Inheritance: objectControlHtmlControlHtmlContainerControlHtmlDivRadRating

Inherited Members HtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

RadRating()

Initializes a new instance of the RadRating class.

Declaration

cs-api-definition
public RadRating()

RadRating(Element)

Initializes a new instance of the RadRating class.

Declaration

cs-api-definition
public RadRating(Element element)

Parameters

element

Element

Properties

ClientSideLocator

Gets the locator FindParam.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

EnableToolTips

Gets/Sets whether the RadRating will show toolTip or not.

Declaration

cs-api-definition
public bool EnableToolTips { get; set; }

Property Value

bool

IsDirectionReversed

Gets/Sets whether the RadRating's direction is reversed or not.

Declaration

cs-api-definition
public bool IsDirectionReversed { get; set; }

Property Value

bool

IsHorizontal

Gets/Sets the RadRating's orientation.

Declaration

cs-api-definition
public bool IsHorizontal { get; set; }

Property Value

bool

ItemCount

Gets number of RadRating's items(stars).

Declaration

cs-api-definition
public int ItemCount { get; }

Property Value

int

LocatorExpression

Gets the HtmlFindExpression that defines the pattern for a RadRating.

Declaration

cs-api-definition
public override IFindExpression LocatorExpression { get; }

Property Value

IFindExpression

Overrides Control.LocatorExpression

Precision

Gets/Sets precision of the RadRating.

Declaration

cs-api-definition
public RatingPrecision Precision { get; set; }

Property Value

RatingPrecision

ReadOnly

Gets/Sets whether the RadRating is ReadOnly or not.

Declaration

cs-api-definition
public bool ReadOnly { get; set; }

Property Value

bool

SelectedValue

Gets/Sets RadRating's value.

Declaration

cs-api-definition
public decimal SelectedValue { get; set; }

Property Value

decimal

SelectionMode

Gets/Sets RadRating's SelectionMode.

Declaration

cs-api-definition
public RatingSelectionMode SelectionMode { get; set; }

Property Value

RatingSelectionMode

Skin

Gets the skin of the RadRating.

Declaration

cs-api-definition
public string Skin { get; }

Property Value

string

Methods

AssignElement(Element)

Assign the control element.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

The underlying element object.

Overrides HtmlDiv.AssignElement(Element)

ControlAssert()

Returns RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialized for this control.

RatingSelectItemByNumber(int)

Selects RadRating value.

Declaration

cs-api-definition
public void RatingSelectItemByNumber(int index)

Parameters

index

int