I was wondering if there was a way to put the GridView into a data-only callback mode. Right now every time there's an action on the grid (filtering, sorting, paging, etc) it executes an action that returns HTML containing the entire grid definition. This AJAX call is returning content that's 53,000 characters long when it really shouldn't be any more than 3,000. Not to mention the fact that the request is spending a long time on the server (~500ms) for a simple sort operation against an indexed sqlserver database. Sitting on the same server is another AJAX web grid which returns JSON data on callbacks. This returns a response that is 2,800 characters long and takes ~80ms for the same sort operation.
I realize that simply returning JSON instead of a full grid definition would make a lot of the advanced server-side binding impossible, but I really don't need all that for this application. Is there a way to trim the fat?
DevExpress MVC Grid View provides plenty of built-in functionalities. That's why its callback lasts longer than for a usual grid.
The filtering, sorting, paging functionality requires necessary callbacks to the server.
Please review our demos to find a convenient solution for your task. Additionally, you can send us your project, so we can review your scenario in greater detail to find a possible solution to improve performance.
I am looking forward to your reply.