ButtonGroup HtmlHelper Overview

The Kendo UI ButtonGroup groups a series of buttons together on a single line.

The ButtonGroup HtmlHelper extension is a server-side wrapper for the Kendo UI ButtonGroup widget. For more information on the ButtonGroup HtmlHelper for ASP.NET MVC, refer to the UI for ASP.NET MVC documentation.

Initialization

The following example demonstrates how to initialize the ButtonGroup.

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

Functionality and Features

Events

For a complete example on basic ButtonGroup events, refer to the demo on using the events of the ButtonGroup.

Referencing Existing Instances

For more information on how to access an instance, refer to the introductory article on the ButtonGroup.

See Also

In this article
Not finding the help you need? Improve this article