Hello,
I have a grid implemented using kendo ui for jquery. When I pass the information to the controller, the DataSourceRequest object is not binding the filter and sort information.
They consistently are evaluating to null when running
My controller method looks like :
public JsonResult GetMeetingList([DataSourceRequest] DataSourceRequest request) {
/// controller logic here
}
the payload sent to the server is, I'm posting the request.
Any assistance you can provide is greatly appreciated.
I was able to resolve this by running a simple sample project and using the Telerik Grid Controls and review the html and javascript generated.
I needed to change the type on the datasource to 'aspnetmvc-ajax' which I had seen elsewhere in the forums.
What I was missing was including the javascript file in the kendo library /kendo-ui-2023.1.412/js/kendo.aspnetmvc.min.js
In case anyone else stumbles across this or even the other answer
Hi Stacey,
Thank you for sharing the approach with the community.
Kind Regards,
Anton Mironov