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

    @(Html.Kendo().ButtonGroup()
        .Name("select-period")
        .Selection("multiple")
        .Items(t =>
            {
                    t.Add().Text("Month");
                    t.Add().Text("Quarter");
                    t.Add().Text("Year");
            }))

See Also

In this article