Selection

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

To implement the selection functionality, configure the Selection property which accepts the following values:

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

Continuous Selection

Continuous selection is the default selection 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, set the Selection property to "single".

    @(Html.Kendo().Rating()
        .Name("rating")
        .Min(1)
        .Max(6)
        .Value(3)
        .Selection("single")
    )

See Also

In this article
Not finding the help you need? Improve this article