undefined
function GetRecords(index) { //alert(index); pageIndex = index; $("#loader").show(); $.ajax({ type: "POST", url: "Customer.ascx/GetCustomers", data: '{pageIndex: ' + pageIndex + '}', contentType: "application/json; charset=utf-8", dataType: "json", success: OnSuccess, failure: function (response) { alert(response.d); }, error: function (response) { alert(response.d); } }); }
[WebMethod] public static string GetCustomers(int pageIndex) { return GetCustomersData(min, max, pageIndex).GetXml(); }
Customer.ascx/GetCustomers
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)