I have a Kendo Grid MVC with columns that need to get their unique list of multi-filter values from the server. So, I am trying to call an MVC controller method passing the field name and a set of filters.
columns.Bound(c => c.SalesRepName)
.Filterable(ftb => ftb.Multi(true).Search(true).DataSource(ds => ds.Custom().Transport(t => t.Read(r => r.ContentType("application/json").DataType("json").Type(HttpVerbs.Post).Action("Portfolio_Read_Filter", "Contract").Data("() => getGridFilterParameters('SalesRepName', 'portfolioGrid')")))));
No matter what I do, the datasource sends the request parameters as form instead of sending the parameters as json.
How to force Kendo dataSource to send request parameters as JSON?
Thank you for you help!