Hello,
I have a multiselect and all i want is to get the value(s) from the datatextfield instead of the datavaluefield value.
@(Html.Kendo().MultiSelect()
.Name("PrimaryArea")
.Placeholder("Välj primärområde")
.DataTextField("Name")
.DataValueField("SpatialId")
.DataSource(ds => ds.Read("GetAllPrimaryArea", "Report"))
.HtmlAttributes(new { @style = "width:200px;" }))
Thanks in advance
I have a multiselect and all i want is to get the value(s) from the datatextfield instead of the datavaluefield value.
@(Html.Kendo().MultiSelect()
.Name("PrimaryArea")
.Placeholder("Välj primärområde")
.DataTextField("Name")
.DataValueField("SpatialId")
.DataSource(ds => ds.Read("GetAllPrimaryArea", "Report"))
.HtmlAttributes(new { @style = "width:200px;" }))
Thanks in advance