I was trying to follow the instructions here: http://docs.kendoui.com/getting-started/web/autocomplete/overview#using-the-kendo-ui-web-datasource-to-bind-to-jsonp ut I am not seeming to get this to work. When I am looking at the console, the GET request is going out just fine, I just get nothing back. If I type the url into my browser, it works fine. I am trying to get JSON back (JSONP since it is not the same url) - what am I doing wrong?
Here is my js:
Here is my js:
$('#ManufacturerConfirmationId').kendoAutoComplete({
minLength: 3,
dataTextField: "ManufacturerConfirmationId",
filter: "contains",
dataSource: new kendo.data.DataSource({
transport: {
read: {
url: serviceBase + 'EquipmentWarranties/ManufacturerConfirmationIdsComplete',
data: {
manufacturerId: function () { return $('#ManufacturerId').val(); },
manufacturerConfirmationId: function () { return $('#ManufacturerConfirmationId').val(); }
}
}
}
}),
change: function () {
this.dataSource.read();
}
});