# Group ToolBar Command Type

The ToolBar enables the user to select only one button from a group of buttons at a time.

This approach is useful when you create a group of mutually exclusive Toggle Buttons.

The following example demonstrates how to define a group of mutually exclusive Toggle Buttons.

```Razor HtmlHelper
    @(Html.Kendo().ToolBar()
        .Name("ToolBar")
        .Items(items =>
        {
            items.Add().Type(CommandType.Button).Text("foo").Togglable(true).Group("controlGroup");
            items.Add().Type(CommandType.Button).Text("bar").Togglable(true).Group("controlGroup");
            items.Add().Type(CommandType.Button).Text("baz").Togglable(true).Group("controlGroup");

        })
    )
```

## See Also

* [Basic Usage of the ToolBar (Demo)](https://demos.telerik.com/aspnet-mvc/toolbar)
* [Server-Side API Reference of the ToolBar](https://www.telerik.com/aspnet-mvc/documentation/api/toolbar)
* [Client-Side API Reference of the ToolBar](https://docs.telerik.com/kendo-ui/api/ui/toolbar)
