ASP.NET MVC CheckBoxGroup Overview

Telerik UI for ASP.NET MVC Ninja image

The CheckBoxGroup is part of Telerik UI for ASP.NET MVC, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

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.

Initializing the CheckBoxGroup

The following example demonstrates how to define the CheckBoxGroup.


Basic Configuration

The following example demonstrates the basic configuration for the CheckBoxGroup.

        .Items(i =>
        .Value(new string[] { "1" })
    $(function() {
        // The Name() of the CheckBoxGroup is used to get its client-side instance.
        var checkboxgroup = $("#checkboxgroup").data("kendoCheckBoxGroup");

Functionality and Features

  • 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—The CheckBoxGroup allows you to customize the text and appearance of its labels.
  • Layout—The CheckBoxGroup supports two types of layout - horizontal and vertical.

Next Steps

See Also

In this article