I have this Kendo UI multiselect:
How can I add [index] to name so the array maps to the array in my editmodel?
Is there some setting that would add [x] automatically to the name?
/Lasse
@(Html.Kendo().MultiSelect()
.Name("EditModel.Modules.ID")
.DataValueField("ID")
.DataTextField("Name")
.Filter(FilterType.Contains)
.DataSource(source =>
{
source.Read(read =>
{
read.Action("GetModules", "Modules");
})
.ServerFiltering(true);
}))
How can I add [index] to name so the array maps to the array in my editmodel?
Is there some setting that would add [x] automatically to the name?
/Lasse