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

Layout

Updated over 6 months ago

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:

Razor
 @(Html.Kendo().CheckBoxGroup() .Name("checkboxgroup") .BindTo(new[] { "English", "German", "Italian", "Russian", "Spanish" }) .Layout("vertical") .Value(new string[] { "Italian" }) )

See Also

In this article
See Also
Not finding the help you need?
Contact Support