Summary-Tag Mode
The Telerik UI MultiSelect for ASP.NET MVC provides options for displaying the items as individual (multiple) tags and as a single, summary tag.
To display single or multiple tags for the selected items set the TagMode()
configuration option. Use the multiple
option to render a tag for every selected value or the single
option to render only one tag that shows the number of the selected values:
@(Html.Kendo().MultiSelect()
.Name("products")
.TagMode(MultiSelectTagMode.Single)
.DataTextField("ProductName")
.DataValueField("ProductID")
.Filter(FilterType.Contains)
.DataSource(source =>
{
source.Read(read =>
{
read.Action("ServerFiltering_GetProducts", "MultiSelect");
})
.ServerFiltering(true);
})
)