Skip to content

Example of Checkbox in ASP.NET MVC ListBox Control

This sample demonstrates the checkbox functionalities of the ListBox. Click one or more items from the list of items in the ListBox.

Select your favorite car:

  • Hennessey Venom
  • Bugatti Chiron
  • Bugatti Veyron Super Sport
  • SSC Ultimate Aero
  • Koenigsegg CCR
  • McLaren F1
  • Aston Martin One- 77
  • Jaguar XJ220
  • McLaren P1
  • Ferrari LaFerrari

The ListBox component has built-in support to select multiple items from the list. The Checkbox selection can be enabled by setting the showCheckbox as true in the SelectionSettings property.

To perform the checkbox feature in the ListBox, the CheckBoxSelection module has to be injected at the application level.