This question is locked. New answers and comments are not allowed.
Hi all,
I'm attempting to bind the datagrid to the results of a webservice that pages the results for me. I.e. the first hit to the webservice tells me there is 200 results, and contains the first 10 results. The next hit to the webservice takes a "page=2" parameter, and returns the next 10 results.
The examples I see for the grid appear to return all their results from the controller. This post tells me that the grid control uses LINQ expressions to build the query. Maybe I could build an IQueryable wrapper for the webservice? This article looks helpful: http://blogs.msdn.com/b/mattwar/archive/2007/07/30/linq-building-an-iqueryable-provider-part-i.aspx
Interested to know if anyone else has attacked this same problem.
Thanks,
Russ
I'm attempting to bind the datagrid to the results of a webservice that pages the results for me. I.e. the first hit to the webservice tells me there is 200 results, and contains the first 10 results. The next hit to the webservice takes a "page=2" parameter, and returns the next 10 results.
The examples I see for the grid appear to return all their results from the controller. This post tells me that the grid control uses LINQ expressions to build the query. Maybe I could build an IQueryable wrapper for the webservice? This article looks helpful: http://blogs.msdn.com/b/mattwar/archive/2007/07/30/linq-building-an-iqueryable-provider-part-i.aspx
Interested to know if anyone else has attacked this same problem.
Thanks,
Russ