Datagrid Paging without Server round trip

R

Rathtap

I am displaying data in a bound datagrid. Is there a way to provide
paging through client-side script? That is, without re-loading the
page. I am willing to have the initial overhead of bringing in a lot
of data.
 
L

Lucas Tam

(e-mail address removed) (Rathtap) wrote in @posting.google.com:
I am displaying data in a bound datagrid. Is there a way to provide
paging through client-side script? That is, without re-loading the
page. I am willing to have the initial overhead of bringing in a lot
of data.

Not with the built in set of components or ASP.NET 1.x. You'll need to
build or find your own component... or wait for ASP.NET 2.0's Client
Callback feature.
 
J

Janaka

There's nothing I'm aware of in ASP.NET that provides client-side paging.
However this can be achieved through DHTML by dividing your data up into
<div> sections and then dynamically displaying or hiding them. I'd probably
try using the DataList though as I find this gives you some more control
over the look and feel.

That said I'd still advise using server-side custom paging with the
DataGrid. Have a look at Doug Seven's article
http://www.dotnetjunkies.com/Tutorial/EA868776-D71E-448A-BC23-B64B871F967F.dcik
I've used this technique myself and found that pages which took 1-2 minutes
to load previously now page in seconds.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top