Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
Server-side paging/filtering/sorting using HTTP POST
posted

Is there a way to do an HTTP POST as the data source request type when binding data to the grid? The reason is that there will be cases in our application's usage in which the filters will be a very large collection of OR statements and this will be much too large to fit into a URL query string.

I was wanting something like the following:

var dataSource = new $.ig.RemoteDataSource({

dataSource: "/api/GetList"

type: "json",

requestType: "POST"

});

I have used Telerik's Kendo controls in the past and they seem to support this type of request, but using the Ignite UI controls, I receive an HTTP 405 (method not allowed) error. I still want to use the build in server-side paging/sorting/filtering features, but using HTTP POST so performing the call using AJAX would add too much complexity.