New to Telerik UI for Blazor? Download Free 30-day trial
MultiSelect - Templates
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Tag Mode
Multiple- Templates.razor
- CustomerService.cs
- CustomerDto.cs
Description
The MultiSelect provides various templates to let you customize the rendering of its elements.
The ItemTemplate
controls the rendering of the items in the dropdown, while the TagTemplate
targets the selected items in the input. Use the SummaryTagTemplate
to customize the summary tag displayed in Multiple Tag Mode and in Single Tag Mode when the selected items exceed the configured MaxAllowedTags
.
You can add header and footer in the dropdown through the HeaderTemplate
and FooterTemplate
. Use the NoDataTemplate
to customize the dropdown message when there are no items to display.
The current demo showcases a sample MultiSelect with all of its available templates. Check the box in the configurator to clear the data, so you can see the NoDataTemplate
in action.