# ASP.NET MVC CheckBoxGroup Overview

The Telerik UI CheckBoxGroup HtmlHelper for ASP.NET MVC is a server-side wrapper for the Kendo UI CheckBoxGroup widget.

The CheckBoxGroup allows to style and provide checkbox functionality to list elements, set the position of the labels, attributes and custom css classes.

* [Demo page for the CheckBoxGroup](https://demos.telerik.com/aspnet-mvc/checkboxgroup/index)

## Initializing the CheckBoxGroup

The following example demonstrates how to define the CheckBoxGroup.

```Razor HtmlHelper
    @(Html.Kendo().CheckBoxGroup()
        .Name("checkboxgroup")
    )
```

## Basic Configuration

The following example demonstrates the basic configuration for the CheckBoxGroup.

```Razor HtmlHelper
    @(Html.Kendo().CheckBoxGroup()
        .Name("checkboxgroup")
        .Items(i =>
        {
            i.Add().Label("Spain").Value("1");
            i.Add().Label("Italy").Value("2");
            i.Add().Label("UK").Value("3");
        })
        .Value(new string[] { "1" })
    )
    <script>
    $(function() {
        // The Name() of the CheckBoxGroup is used to get its client-side instance.
        var checkboxgroup = $("#checkboxgroup").data("kendoCheckBoxGroup");
    });
    </script>
```

## Functionality and Features

* [Binding](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/checkboxgroup/binding)—You can bind the CheckBoxGroup's items by using its `Items` configuration method or the `BindTo` method to bind to a view model.
* [Label](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/checkboxgroup/label)—The CheckBoxGroup allows you to customize the text and appearance of its labels.
* [Layout](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/checkboxgroup/layout)—The CheckBoxGroup supports two types of layout - `horizontal` and `vertical`.

## Next Steps

* [Getting Started with the CheckBoxGroup](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/checkboxgroup/getting-started)
* [Basic Usage of the CheckBoxGroup HtmlHelper for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/checkboxgroup)

## See Also

* [Using the API of the CheckBoxGroup HtmlHelper for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/checkboxgroup/api)

* [Client-Side API of the CheckBoxGroup](https://docs.telerik.com/kendo-ui/api/ui/checkboxgroup)

* [Server-Side API](https://www.telerik.com/aspnet-mvc/documentation/api/checkboxgroup)

* [Knowledge Base Section](https://www.telerik.com/aspnet-mvc/documentation/knowledge-base)
