New to Telerik UI for ASP.NET Core? Start a free 30-day trial
Selection
You can restrict the number of Buttons that can be selected by using the .Selection()
property of each Button within the ButtonGroup.
The property can be configured for a single
or multiple
selection.
The following example demonstrates how to use the .Selection()
configuration.
Razor
@(Html.Kendo().ButtonGroup()
.Name("select-period")
.Selection("multiple")
.Items(t =>
{
t.Add().Text("Month");
t.Add().Text("Quarter");
t.Add().Text("Year");
}))