Skip to content

Example of Default Functionalities in ASP.NET MVC ListBox Control

This sample demonstrates the default functionalities of a ListBox. Click any item to select a single item or ctrl + click to select multiple items.

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 is a graphical user interface component used to display a list of items. Users can select one or more items in the list using a checkbox or by keyboard selection. It supports sorting, grouping, reordering, and drag and drop of items.

In this sample, data is bound to the ListBox using the DataSource property. You can select your favorite cars from the ListBox.