Over the last week I have researched ways to use client-side binding with the radGrid.
I understand that I can use declarative binding and write a single pagemethod/web service that will bring back both the data and the count and the declaritive code will handle binding both sets of data. Is there a way to do the same when calling a page method or web service directly from javascript?
I am aware of the methods for binding the grid and setting the virtualItemCount, but I believe I would have to have to parse the json result set to get the count information as these are 2 seperate functions. Is there a way to pass the json result set to the grid and it knowing how to bind both the data and the count information?
I ask this because I'd like to call a single WCF service using only jQuery. I'd like to bind the resulting data + count to the grid. Am I asking for too much?
thanks,
I understand that I can use declarative binding and write a single pagemethod/web service that will bring back both the data and the count and the declaritive code will handle binding both sets of data. Is there a way to do the same when calling a page method or web service directly from javascript?
I am aware of the methods for binding the grid and setting the virtualItemCount, but I believe I would have to have to parse the json result set to get the count information as these are 2 seperate functions. Is there a way to pass the json result set to the grid and it knowing how to bind both the data and the count information?
I ask this because I'd like to call a single WCF service using only jQuery. I'd like to bind the resulting data + count to the grid. Am I asking for too much?
thanks,