Example of Checkbox in ASP.NET MVC List Box Control
This sample demonstrates the checkbox functionalities of the ListBox. Click one or more items from the list of items in the ListBox.
DEMO
SOURCE
Select your favorite car:
The ListBox component has built-in support to select multiple items from the list. The Checkbox selection can be enabled by setting the
showCheckboxopens in a new tab as true
in the SelectionSettingsopens in a new tab property.
To perform the checkbox feature in the ListBox, the CheckBoxSelection module has to be injected at the application level.
More information about checkbox selection in ListBox can be found in the documentation sectionopens in a new tab.