I can't seem to get the success callback to execute on this datasource. I am getting the data, so I know the call is working, just the success callback is not firing:
Please help, thanks,
George
var dsReviewList = new kendo.data.DataSource({ schema: { data: "d", model: { fields: { resID: { type: "number" }, resDate: { type: "string" }, description: { type: "string" }, amount: { type: "number" }, selected: { type: "boolean" }, total: { type: "number" } } } }, transport: { read: { contentType: "application/json; charset=utf-8", type: "POST", dataType: "json", url: "OWLV2be.asmx/GetReviewReservations", success: function (data) { alert(data); }, error: function (xhr, error) { console.debug(xhr); console.debug(error); alert('error'); } }, parameterMap: function (data, operation) { return kendo.stringify(data); } },});Please help, thanks,
George
try with
"complete: function(data) {"
instead of
"success: function(data) {"