Datatable1.9 ajax source setting in mvc3
Datatable1.9 ajax source setting in mvc3

Hi in my mcv3 application am using wcf calls to fetch data from server side operations and uses data tables for listing details.Currently I created my views as scaffold using view creation template in mvc and details were pulled from controller,but that makes my application slow.Now I want to display the details directly from server side using datable ajaxsource setting method in mvc using wcf.I tried to call using following script but its not $('#myTable').dataTable({ "bProcessing": true, "bServerSide": true, "sAjaxSource": "/Search/GetData", "fnServerData": function (sSource, aoData, fnCallback) { $.ajax({ "dataType": 'json', "type": "POST", "url": sSource, "data": aoData, "success": fnCallback }); }
This discussion has been closed.