New to Telerik UI for ASP.NET Core? Download free 30-day trial

Customizing templates

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Theme Builder
  • template.cshtml
  • TemplateController.cs
  • CustomerViewModel.cs

Also available for:

API REFERENCE

Description

The ASP.NET Core DropDownList comes with the option for different templates that let you control the items, selected values, and the popup headers in the component. As shown in this demo example, you can customize the rendering of the DropDownList and include images and other type of content using the header, item and value templates.

Support & Learning Resources