New to Telerik UI for ASP.NET Core? Start a free 30-day trial
Selection
Updated over 6 months ago
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".
Razor
@(Html.Kendo().Rating()
.Name("rating")
.Selection("continuous")
)Single Selection
To configure the single selection mode, set the Selection property to "single".
Razor
@(Html.Kendo().Rating()
.Name("rating")
.Min(1)
.Max(6)
.Value(3)
.Selection("single")
)