I am trying to preload item in Multiselect using the are not getting preloaded. via is array not
Javascript console object is seen as:
HTML for kendo in is :
<
select
class
=
"request-via-multiselect"
data-role
=
"multiselect"
data-max-selected-items
=
"2"
data-value-primitive
=
"true"
data-item-Template
=
"AirportTemplate"
data-text-field
=
"Code"
data-value-field
=
"Code"
data-bind
=
"value: ArriveDepartDetails.via, source: ViaSource"
></
select
>
via structure:
via[] : ["xyc"]
viaSource structure:
ViaSource:
new
kendo.data.DataSource({
transport: {
read: {
url: rootUrl(
"GetData/GetCountry"
),
dataType:
"json"
}
},
serverFiltering:
true
}),