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

ASP.NET Core TreeList Checkbox Selection

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
checkbox_selection.cshtml
Checkbox_SelectionController.cs
EmployeeDirectoryController.cs
checkbox_selection_TagHelper.cshtml
EmployeeDirectoryModel.cs

Also available for:

CLIENT-SIDE API HTML HELPER API

Description

As of R3 2020, a checkbox based selection is provided by the Telerik TreeList for ASP.NET Core component. To enable this functionality you should define selectable column as shown below:

columns.Add().Selectable(true)

This column allows you to select TreeList rows automatically after changing the status of the checkbox to checked. A checkbox is also displayed in the column header to toggle the checked/selected state of all rows in the current page.

Additional Apps

This TreeList 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