CheckBox HtmlHelper Overview

The Telerik UI CheckBox HtmlHelper for ASP.NET MVC is based on the convential HTML checkbox element. It allows you to add more customizable checkboxes to your application.

Telerik UI for ASP.NET MVC Ninja image

The CheckBox 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.

Initializing the CheckBox

The following example demonstrates how to define the CheckBox by using the CheckBox HtmlHelper.

    @(Html.Kendo().CheckBox()
        .Name("eq1")    
        .Checked(true)
        .Label("My Telerik Checkbox")
    )

Two-way Binding

To use the Telerik UI Checkbox as an editor for a field in your C# Model declare it with the CheckboxFor HtmlHelper:

    @(Html.Kendo().CheckBoxFor(m=>m.BooleanFieldName)
        .Label("Editable Checkbox"))
    )

See Also

In this article
Not finding the help you need? Improve this article