In the help it says:
"If you are binding to remote services, in order to properly initialize and render the pager, your service must specify both the responseDataKey (grid option) and the totalRecCountKey(paging option)."
It doesn't go on to tell you how to specify these two values. Can someone please tell me how to do this in an ASP .NET MVC wrapper?
Also, I need a solution that handles the filtering and sorting that comes through in the url as well.
Hi,
if you use the MVC wrapper, remote paging , including all remote features work out of the box. so you don't need to set antything. The help snippet you have provided is about the case where you'd like to bind the grid to a different remote service (meaning you don't have the data source available locally. In that case what happens is that the MVC logic for paging/sorting/filtering is not used at all, because you don't have control over the data source (since it comes from a remote service). In that case you not only need to set those properties on the MVC wrappers - the names are exactly the same as the client-side names, but with upper case first letter, but you also need to ensure your service reads those params and filters or pages its data source accordingly.
Thanks
Angel