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.
@(Html.Kendo().ButtonGroup()
.Name("select-period")
.Selection("multiple")
.Items(t =>
{
t.Add().Text("Month");
t.Add().Text("Quarter");
t.Add().Text("Year");
}))
<kendo-buttongroup name="select-period"
selection="multiple">
<buttongroup-items>
<item text="Month"></item>
<item text="Quarter"></item>
<item text="Year"></item>
</buttongroup-items>
</kendo-buttongroup>