Jquery Datatable is one of the best plugin which we can use in alternate of GridView.
Though there are so many examples available at https://www.datatables.net/ for sever side processing with .txt or .php as AjaxSource. But there isn’t full example on achieving Load on demand with server side processing in asp.net by using PageMethod/WebMethod.
So, if you are looking for similar solution, please walk through below sample code.
Important: Before jumping into the code, it can be beneficial if you have some knowledge of datatable terminology and parameters we send to PageMethod/WebMethod or Parameters we return from PageMethod/WebMethod.
Click here for more information on Parameters sent to the server and returned from server.
Click here for more information on Datatable Methods.