Telerik UI for ASP.NET Core CheckBox Basic Usage

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
index.cshtml
IndexController.cs

Also available for:

SERVER-SIDE API
devcraft ninja image

The CheckBox component is part of Telerik UI for ASP.NET Core, 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.

Description

The Telerik UI for ASP.NET Core CheckBox represents an enhanced HTML input element and is a standalone component that allows the user to check one or multiple values from the listed options, and is opposite to the RadioButton, which allows a single selection from multiple mutually-exclusive options.

The current example displays a common use-case scenario for a CheckBox HtmlHelper and TagHelper, and shows how to disable the component by setting the Enable property to false. To add a label to the CheckBox, pass the required text to the Label method. To create a complete list of checkboxes, explore the CheckBoxGroup editor.

The ASP.NET Core CheckBox control is part of Telerik UI for ASP.NET Core, a professional-grade UI library with 110+ components for building modern and feature-rich web applications. The CheckBox is a server-side wrapper for the Kendo UI for jQuery CheckBox component and supports an HtmlHelper and a TagHelper mode.

Functionality and Features

  • Appearance—Customize the component look and feel through a variety of options.
  • Model binding—Bind the CheckBox to a Model property by using the CheckboxFor(m => m) helper.
  • API—Modify the initial component options, or show or hide it at runtime.

Additional Apps

This CheckBox example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources