how to "save the user's place" on a vertically-scrolled page?

  • Thread starter Thread starter Timo
  • Start date Start date
T

Timo

We have a long page of links (LinkButtons). Is it possible to save the
scroll position so that when a postback occurs after a link has been
clicked, we can return the page to its scroll state? Our users want to "save
their place". That is, if the user has scrolled down the page so that the
200th item is the first visible item in the browser page, we can set the
page so that the 200th item is once again the topmost visible item? After
the postback, the 1st item on the page typically becomes the topmost visible
item, and the users have to find where they were. BTW, we must invoke some
server-side code when any linkbutton is clicked, so making the click
eventhandler javascript function to avoid the postback is not an option.
Thanks!
Timo
 
Timo said:
We have a long page of links (LinkButtons). Is it possible to save the
scroll position so that when a postback occurs after a link has been
clicked, we can return the page to its scroll state? Our users want to

Yes, but only in IE. There is an option that you can set to tell IE to
"diff" the page and only redraw those parts if you send it the same page.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Get your ASP.NET in gear with IntraWeb!
http://www.atozed.com/IntraWeb/
 
Back
Top