Example of Template in ASP.NET MVC List Box Control
This sample demonstrates the Template of a ListBox. Here, SVG icons were used for visual representation of every list items
DEMO
SOURCE
The ListBox
is a graphical user interface component used to display a list of items. This sample illustrates how to integrate the item template to customize the
list item's content and this can be specified by using ItemTemplate property.
In this sample, data is bound to the ListBox using the
DataSource
opens in a new tab property.
More information about the ListBox can be found in the documentation sectionopens in a new tab.