Layout
The CheckBoxGroup supports two types of layout
- "horizontal" and "vertical". By default the checkboxes are rendered vertically.
The following example shows how to set the CheckBoxGroup layout:
@(Html.Kendo().CheckBoxGroup()
.Name("checkboxgroup")
.BindTo(new[] { "English", "German", "Italian", "Russian", "Spanish" })
.Layout("vertical")
.Value(new string[] { "Italian" })
)