New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Kendo.Mvc.UI.CheckBoxGroup

Kendo UI CheckBoxGroup component

Fields

urlGenerator

The URL generator.

Properties

Enabled

Sets the enabled state of all checkboxes in the CheckBoxGroup.

InputName

The name attribute to be used for the checkbox inputs. If omitted, the id of the wrapper element will be used.

Items

Array of items to be rendered as checkboxes in the CheckBoxGroup. If the array contains objects, their fields will be used for each checkbox configuration. If the array contains strings, those will be used as both value and label of the respective checkbox.

Layout

Specifies whether the checkbox inputs will be rendered one below the other ("vertical") or on the same line ("horizontal").

LabelPosition

Specifies the label position according to its input for all items in the widget. Accepts "before" and "after".

Value

The selected (checked) inputs values. Will also be used as a CheckBoxGroup widget value.

Methods

WriteInitializationScript(System.IO.TextWriter)

Writes the initialization script.

Parameters

writer System.IO.TextWriter

The TextWriter.

WriteHtml(System.Web.UI.HtmlTextWriter)

Writes the HTML.

Parameters

writer System.Web.UI.HtmlTextWriter

The HtmlTextWriter.

In this article
Not finding the help you need?