Example of Template in ASP.NET Core Dropdown List Control

This sample demonstrates the template functionalities of the DropDownList. Click the DropDownList element and select an item from the customized list.


The DropDownList has been provided with several options to customize each list items, group title, selected value, header and footer elements.

This sample uses the following list of templates in DropDownList

  • ItemTemplate - To customize the list item's content.
  • ValueTemplate - To customize the value element content that holds the selected item's text.
  • HeaderTemplate - To customize the header element.

More information on the template feature configuration can be found in the documentation section.

Transform your ASP.NET Core web apps today with Syncfusion ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing