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

Selection

The Rating allows you to control the selection of its items.

To configure the Selection property, use either of the following settings:

  • continuous—Allows the selection of all items from the start to the end.
  • single—Allows the selection of a single item.

Continuous Selection

The continuous selection is the default selection mode of the Rating. If not configured, the Rating will automatically set the Selection property to "continuous".

    @(Html.Kendo().Rating()
        .Name("rating")
        .Selection("continuous")
    )
    <kendo-rating name="rating" selection="continuous"></kendo-rating>

Single Selection

To configure the single selection mode, set the Selection property to "single".

    @(Html.Kendo().Rating()
        .Name("rating")
        .Min(1)
        .Max(6)
        .Value(3)
        .Selection("single")
    )
    <kendo-rating name="rating" 
                  min="1"
                  max="6"
                  value="3"
                  selection="single">
    </kendo-rating>

See Also

In this article