Example of Default Functionalities in ASP.NET MVC List Box 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:
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
opens in a new tab property. You can select your favorite cars from the ListBox.
More information about the ListBox can be found in the documentation sectionopens in a new tab.