New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.RadWebControlTelerik.Web.UI.RadRating

Events

Adds a load event handler for the radrating

JS
add_load
Parameters:handlerFunction

The event handler function to attach

Adds a rated event handler for the radrating

JS
add_rated
Parameters:handlerFunction

The event handler function to attach

Adds a rating event handler for the radrating

JS
add_rating
Parameters:handlerFunction

The event handler function to attach

Removes a load event handler from the radrating

JS
remove_load
Parameters:handlerFunction

The event handler function to remove

Removes a rated event handler from the radrating

JS
remove_rated
Parameters:handlerFunction

The event handler function to remove

Removes a rating event handler from the radrating

JS
remove_rating
Parameters:handlerFunction

The event handler function to remove

Methods

Returns a value, indicating whether the rating control is enabled

JS
get_enabled(): Boolean
Returns:

Boolean

The value of the Enabled property

Returns a value, indicating whether the rating control will display a browser toolip for its values

JS
get_enableToolTips(): Boolean
Returns:

Boolean

A value

Returns a value, indicating whether the direction of the rating control is reversed

JS
get_isDirectionReversed(): Boolean
Returns:

Boolean

A value

Gets the number of items (stars) in the rating control

JS
get_itemCount(): Number
Returns:

Number

The number of items

Array

JS
get_itemData(): void

Gets the orientation of the rating control

JS
get_orientation(): Telerik.Web.UI.Orientation
Returns:

Telerik.Web.UI.Orientation

The orientation of the rating control

Gets the rate precision of the rating control

JS
get_precision(): Telerik.Web.UI.RatingPrecision
Returns:

Telerik.Web.UI.RatingPrecision

The rate precision of the rating control

Returns a value, indicating whether the rating control is in read-only mode

JS
get_readOnly(): Boolean
Returns:

Boolean

A value

Gets the selection mode of the rating control

JS
get_selectionMode(): Telerik.Web.UI.RatingSelectionMode
Returns:

Telerik.Web.UI.RatingSelectionMode

The selection mode of the rating control

Gets the current value of the rating control

JS
get_value(): Number
Returns:

Number

The current value of the rating control

Repaints the rating control and forces it to recalculate the size of its elements. Use this method when the control is in an initially hidden element

JS
repaint(): void

Sets whether the slider is enabled

JS
set_enabled(Boolean value): void
Parameters:valueBoolean

The new value for the Enabled property

Telerik.Web.UI.RatingPrecision

JS
set_precision(): void

Sets a value, indicating whether the rating control is in read-only mode

JS
set_readOnly(Boolean value): void
Parameters:valueBoolean

The new value for the ReadOnly property

Telerik.Web.UI.RatingSelectionMode

JS
set_selectionMode(): void

Sets the current value of the rating control

JS
set_value(Number value): void
Parameters:valueNumber

The new value for the rating control

Not finding the help you need?
Contact Support