Chris
Fri Jun 09 06:52:58 CDT 2006
Thanks,
Any reason they didn't implement the client callback technology in the
gridview? It would be faster and less net traffic ...
"PeterKellner" <pkellnernews@73rdstreet.com> wrote in message
news:3r7f82966fos5d84jd811vifdfg4mi24gf@4ax.com...
> On Wed, 7 Jun 2006 20:58:54 +0200, "Chris" <chris@dfbd.fdb> wrote:
>
> >Hi,
> >
> >I read about client callback and i have a question.
> >
> >Assume the option "sorting" is set in a gridview.
> >Each time the user clicks on a fieldname, the data are sorted.
> >My question is: are the data on each click fetched from the server, or
are
> >they 'cached' on the client-side and so avoiding a lot of transferts
> >between server and browser?
> >If not 'cached', would it not bebetter to use the client callback
> >technology?
> >
> >Thanks for explanation
> >Chris
> >
>
> Sorting in gridview does cause a postback which resorts the data on
> the server, and resends it to the client. The data on the server can
> be Cached also.
>
> I do not know of a way to move the data to the client and have a
> javascript or sort it. I think you move out of GridView's when you do
> that.
> Peter Kellner
>
http://peterkellner.net