# Group

The ASP.NET MVC ToggleButton component exposes the ability to group several instances into one distinguished group. This gives you the advantage of molding several ToggleButton instances and accessing them altogether via the `data-group` attribute, which will be rendered for the elements.

The following example illustrates how to enable the group functionality

```Razor HtmlHelper
     @(Html.Kendo().ToggleButton()
         .Name("volumeUpBtn")
         .Group("volumes")
         .Selected(true)
         .Content("Increase volume")
     )

     @(Html.Kendo().ToggleButton()
         .Name("volumeMuteBtn")
         .Group("volumes")
         .Content("Mute volume")
     )
```

## See Also

* [ToggleButton API HtmlHelper (Demo)](https://demos.telerik.com/aspnet-mvc/togglebutton/api)
* [Server-Side API of the ToggleButton HtmlHelper for ASP.NET MVC](https://www.telerik.com/aspnet-mvc/documentation/api/togglebutton)
* [JavaScript API Reference of the ToggleButton HtmlHelper for ASP.NET MVC](https://docs.telerik.com/kendo-ui/api/ui/togglebutton)
