My Problem is I am unable to pass the take, skip parameters from Jquery Ajax function, Client side paging works fine. serverPaging: true is not passing those two Parameters. I am using webmethod to load the data.
$.ajax({
url:
"Docktst.aspx/Getserachres"
,
type:
"post"
,
data:{}, // Here I need to pass skip and take Parameters.
dataType:
"json"
,
contentType:
"application/json; charset=utf-8"
,
success: function (result) {
searchResults = result;
}
}).done(function () {
var dataSource = new kendo.data.DataSource({
data: searchResults.d,
pageable: {
pageSize: 2, buttonCount: 1 },
serverPaging: true,
......