Disabled ButtonGroup

The Button 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 by setting 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
Not finding the help you need? Improve this article