New to Telerik UI for ASP.NET Core? Download free 30-day trial
Customizing templates
Loading Demo...
- EXAMPLE
- VIEW SOURCE
-
EDIT IN TELERIK REPL
-
Change Theme
default
- Main
- Main Dark
- Nordic
- Ocean Blue
- Purple
- Turquoise
- Main
- Main Dark
- Nordic
- Urban
- Vintage
- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
- Main
- Main Dark
- Opal
- Silver
HtmlHelper
TagHelper
template.cshtml
TemplateController.cs
CustomerViewModel.cs
Template_TagHelper.cshtml
Also available for:
CLIENT-SIDE API SERVER-SIDE APIDescription
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.