Server-side processing | ASP.NET with SQL Server 2008

Server-side processing | ASP.NET with SQL Server 2008

aplavaplav Posts: 11Questions: 0Answers: 0
edited October 2011 in General
There is an example at http://datatables.net/development/server-side/asp_net that on the server side uses request for getting iSortCol_0,sSortDir_0, sSearch etc from the client-side. Can anybody give example of what I should have in javascipt. I'm not getting anything in Requests on server side.
I'm using

$(document).ready(function() {
$('#<%= GridView1.ClientID %>').dataTable({
"bJQueryUI": true,
"bPaginate": "full_numbers",
"bLengthChange": true,
"bFilter": true,
"bSort": true,
"bAutoWidth": false,
"bProcessing": true,
"bServerSide": true,
"iDisplayLength": 10,
//"sAjaxSource": "MyService.asmx/MyWebMethod",
"sAjaxSource": "Default2.aspx.vb",
"fnServerData": function(sSource, aoData, fnCallback) {
$.ajax( {
"dataType": 'json',
"type": "GET",
"url": sSource,
"data": aoData,
"success": fnCallback
} );
}
} );
} );
This discussion has been closed.