473,397 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

question about client callback and gridview

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
Jun 7 '06 #1
4 1799
On Wed, 7 Jun 2006 20:58:54 +0200, "Chris" <ch***@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
Jun 8 '06 #2
Thanks,

Any reason they didn't implement the client callback technology in the
gridview? It would be faster and less net traffic ...

"PeterKellner" <pk**********@73rdstreet.com> wrote in message
news:3r********************************@4ax.com...
On Wed, 7 Jun 2006 20:58:54 +0200, "Chris" <ch***@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 arethey '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

Jun 9 '06 #3
It does. Check out GridView.EnableSortingAndPagingCallbacks

-Brock
http://staff.develop.com/ballen

Thanks,

Any reason they didn't implement the client callback technology in the
gridview? It would be faster and less net traffic ...

"PeterKellner" <pk**********@73rdstreet.com> wrote in message
news:3r********************************@4ax.com...
On Wed, 7 Jun 2006 20:58:54 +0200, "Chris" <ch***@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

Jun 9 '06 #4
On Fri, 9 Jun 2006 13:52:58 +0200, "Chris" <sf**@dffgf.ee> wrote:
Thanks,

Any reason they didn't implement the client callback technology in the
gridview? It would be faster and less net traffic ...

When you sort gridview data, it may contains lots of rows that are now
downloaded. (assuming you are using paging). The sort is for all the
data, not just the displayed data.

That is, downloading all the data to the client for sorting might be
prohibitive.
Peter Kellner
http://peterkellner.net
Jun 29 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Natalia DeBow | last post by:
Hi, I am working on a Windows-based client-server application. I am involved in the development of the remote client modules. I am using asynchronous delegates to obtain information from...
1
by: John | last post by:
Hi all, I'm trying to get a client callback to work and am able to get it to work when I comment out a section of other, non-related-client-callback code. Within my "If not page.ispostback"...
0
by: John | last post by:
Hi all, Perhaps I'm being a little impatient here but I needed to re-send with a metter of urgency... I'm trying to get a client callback to work and am able to get it to work when I comment...
2
by: jslaybaugh | last post by:
I am trying to bind to a GridView or DetailsView after a callback using the ClientCallback Manager in the new .NET 2.0 framework. See below for the HTML followed by the VB code: <html...
0
by: JULO | last post by:
Hi, I have this problem: In GridView I have template column with ImageButtons - for deleting row. When I click on that button I get this message Invalid postback or callback argument. Event...
3
by: CK | last post by:
Good morning all, I had a quick question, I would like to make a row in a gridview selectable. Currently there is a asp:CommandField as one of the colums. This selects the current row when...
2
by: Bob | last post by:
Hi, I develop aspnet applications (no webservices) often using gridviews with sorting and dropdownlist ... I was wondering whether i could use 'ajax' methods for speeding up my applications...
1
by: rony_16 | last post by:
Hi, I am trying to use the callvbck option with gridView. i enabled the callback option i GridView i order to use the paging and sorting without refresh. but i have a problem with that because i...
1
by: Reg | last post by:
Hello, I have a WCF Web Service using wsHttpDualBinding because I need a callback to Java client. I read Mr. A.Gupta's blog that if WCF Service uses wsHttpDualBinding for interop working is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.