Datagrid Paging without Server round trip

  • Thread starter Thread starter Rathtap
  • Start date Start date
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.
 
(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.
 
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.
 
Back
Top