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
JavaScript It is a lightweight interpreted or JIT-compiled programming language.
TypeScript It is a typed superset of JavaScript that compiles to plain JavaScript.
Angular It is a TypeScript-based open-source web application framework.
React A JavaScript library for building user interfaces. It can also render on the server using Node.
Vue A progressive framework for building user interfaces. it is incrementally adoptable.
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.