New to Telerik UI for ASP.NET Core? Download free 30-day trial

RatingTagHelper

Example

<kendo-rating>
    <label />
</kendo-rating>

ChildTags

Tag Name Details
label RatingLabelSettingsTagHelper

Attributes

Attribute Type Description
name String Sets the name of the component.
for ModelExpression An expression to be evaluated against the current model.
deferred Boolean Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
is-in-client-template Boolean When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
as-module Boolean
enabled Boolean If set to false, the Rating will be: disabled and will not allow the user to change its state.; excluded from the tab order and not receiving focus. or will not submit its value if part of a form..
has-client-component Boolean
hovered-template String Specifies the template which is used for rendering the hovered state of the items.
hovered-template-handler String Specifies the template which is used for rendering the hovered state of the items.
hovered-template-id String Specifies the template which is used for rendering the hovered state of the items.
hovered-template-view IHtmlContent Specifies the template which is used for rendering the hovered state of the items.
item-template String Specifies the template which is used for rendering the items of the Rating.
item-template-handler String Specifies the template which is used for rendering the items of the Rating.
item-template-id String Specifies the template which is used for rendering the items of the Rating.
item-template-view IHtmlContent Specifies the template which is used for rendering the items of the Rating.
max Double The value to which the Rating items will be rendered.
min Double The value from which the Rating items will be rendered.
on-change String Fires when the value of the Rating is changed through user interaction.
on-select String Fires when an item is selected through user interaction.
precision String Specifies the precision with which an item is selected. The available options are:*item - rate by selecting the whole item. *half - rate by selecting half of the item or the whole item.
readonly Boolean If set to true, the Rating will: be in readonly state and will not allow the user to change its state.; be included in the tab order and able to receive focus. or submit data if part of a form..
sanitize-id Boolean
script-attributes IDictionary<String,Object>
selected-template String Specifies the template which is used for rendering the selected state of the items.
selected-template-handler String Specifies the template which is used for rendering the selected state of the items.
selected-template-id String Specifies the template which is used for rendering the selected state of the items.
selected-template-view IHtmlContent Specifies the template which is used for rendering the selected state of the items.
selection String Specifies the selection behavior. The available options are:*continuous - all items, starting from the first one, are marked as selected. *single - a single item is marked as selected.
select-value-on-focus Double If the option is set, the widget will automatically select the specified item when the Rating receives focus and no previous value has been set.
tooltip Boolean The Rating displays the value of the item through the title attribute when it is hovered.If tooltip is set to false, the widget will not display the value of the items when hovering over them.The tooltips are not visible when the Rating is disabled.
value Double Specifies the initial value of the Rating.If a greater value than the max option is used, then the max value will be set.If a value less than the min option is used, then the min value will be set.
In this article
Not finding the help you need?