Home All Groups Group Topic Archive Search About

SmartNavigation/MaintainScrollPositionOnPostback & Datagrids

Author
21 Apr 2006 3:36 PM
Zamdrist
Use of SmartNaviagtion appear to cause a serious perfomance hit, I'm
not working with ASP.Net 2.0 yet so
MaintainScrollPositionOnPostback=True isn't an option either.

Is there a way I can persist the user's scroll position in a datagrid,
are there any other options?

Thanks

Author
21 Apr 2006 4:36 PM
Teemu Keiski
Hi

there are lots of variations

http://pascarello.brinkster.net/rememberScrollPosition.html
http://authors.aspalliance.com/JimRoss/Articles/MaintainScrollPos.aspx

basically you save the scroll position before postback and after postback
restore it (with javascript)

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

Show quoteHide quote
"Zamdrist" <zamdr***@gmail.com> wrote in message
news:1145633811.671380.139490@z34g2000cwc.googlegroups.com...
> Use of SmartNaviagtion appear to cause a serious perfomance hit, I'm
> not working with ASP.Net 2.0 yet so
> MaintainScrollPositionOnPostback=True isn't an option either.
>
> Is there a way I can persist the user's scroll position in a datagrid,
> are there any other options?
>
> Thanks
>
Author
21 Apr 2006 4:47 PM
Zamdrist
Thank you Teemu.

The best solution I just found, that works best is here:

http://authors.aspalliance.com/aldotnet/examples/dgautoscroll.aspx

Thanks,

Steve