New to Telerik UI for ASP.NET Core? Download free 30-day trial
Customizing templates
- 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
Also available for:
CLIENT-SIDE API SERVER-SIDE APIDescription
The templates feature of the AutoComplete UI component provides complete control over the rendering of items and the popup header and footer. Using templates, you can display icons, images, and custom styling. Additionally, you can use the No-Data template to render custom messages and content if the AutoComplete has no data to display.
You can initialize the customization option with an inline string, using .Template().
All available templating options for the AutoComplete control are listed below:
- Item Template – customization for the list items
- Header Template – customization for the popup header
- Footer Template – customization for the popup footer
- No-Data Template – customization for an empty data source