or
var dataSource = new kendo.data.DataSource({ transport: { read: { type: "GET", url: "http://localhost:51465/WidgetService.asmx/GetPatients", contentType: 'application/json', datatype: "json" } }, serverPaging:false, schema: { data: "d" } , pageSize: 10 });var dataSource = new kendo.data.DataSource({ transport: { read: { type: "GET", url: "http://localhost:51465/WidgetService.asmx/GetPatientsFiltered", contentType: 'application/json', datatype: "json", data: { srchFilter: "blue" } } }, serverPaging:false, schema: { data: "d" } , pageSize: 10 }); transport: {
read: "http://localhost/WebAPITest/api/Transactions",
datatype: "json",
headers: { Authorization: "user/password" }
},