Hi, I'm attempting to post a grid's state (filters/paging/sorting/etc) from the Kendo Angular grid to a .NET Core Web Api endpoint. The reason I've been asked to try to do this as we are building custom filters that could possibly be long enough to cause URL truncation if we pass in querystring.
Is there a way to post the grid state like below? If so, does anyone have sample Angular code showing how to send over a request body that the back-end can transform to DataSourceRequest object and correctly apply grid state (filters/paging/sorting/etc)? My brief attempts at this have failed so far.
Is there a way to post the grid state like below? If so, does anyone have sample Angular code showing how to send over a request body that the back-end can transform to DataSourceRequest object and correctly apply grid state (filters/paging/sorting/etc)? My brief attempts at this have failed so far.
public DataSourceResult TestEndpoint([DataSourceRequest] DataSourceRequest request)
{
IEnumerable<Object> myData = null;
return myData.ToDataSourceResult(request);
}