We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Network trace on GridActions using Odata connection

Thread ID:





113911 Oct 16,2013 10:29 PM UTC Oct 18,2013 11:52 AM UTC ASP.NET MVC (Classic) 1
Tags: Grid
Asked On October 16, 2013 10:29 PM UTC

I'm trying to figure how to efficiently use the mvc grid control with an Odata service. I'm using the grid in server mode. When I get the Odata data in the controller in the paging/sorting/searching Post ActionResult method I'm noticing varied problems.
Problem 1: If I get the data and call ToList() on it, it doesn't have deferred execution and loads all of the data without a Skip and Take (noticed via network trace).
Problem 2: If I give the data to the GridActions method without calling ToList() I noticed in a network trace that it calls the Odata service 2 times. One of the calls gets all of the data, the second call gets only the portion of the data needed for the page (ie applies filters to it and returns only the needed data).
The issue with Problem 1 is that I don't want to load all of the data every single time I page, search, sort, etc. The issue with Problem 2 is that in a paging method, I would expect it to only make one call to the server just to get only the data needed for the page using a skip and take.
So my question is how can I apply paging, sorting, searching, etc to the grid without returning all of the data every single time. I would like to return only the necessary data from my Odata source so that it is more efficient.

Satheeskumar S [Syncfusion]
Replied On October 18, 2013 11:52 AM UTC

Hi Andrew,

Thanks for your interest in Syncfusion Products.

We have updated regarding this requirement in the incident- 114534.

Could you please follow that incident.

Please let us know if you need any further assistance.



Satheeskumar S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon