New to Telerik UI for ASP.NET MVC? 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")
    )

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")
    )

See Also

In this article