New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Disabled ButtonGroup

The ButtonGroup provides options for setting its enabled and disabled state.

To configure the ButtonGroup as initially disabled, use its .Enable() setting. The ButtonGroup can also be disabled or enabled with JavaScript by using its .Enable() method with a Boolean argument.

The following example demonstrates how to enable and disable the ButtonGroup over the .Enable() configuration.

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

See Also

In this article