Just a quick note for myself and for anyone else trying to figure out how to get knockout-kendo.js to work with an datasource in a MVC project. First lets take a look at the server side code that returns your json object to the view.
Next we take a look at the element. We add the kendo Autocomplete to the required text element.
{
type: 'aspnetmvc-ajax',
transport: {
read:
{
url: '/Home/GetPersonJson',
type: 'POST'
}
},
schema: {
model: {
fields: {
Name: { type: 'string' },
Email: { type: 'string' }
}
}
},
serverFiltering: true
}, value: name
}" />