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

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
 
C

Chad Z. Hower aka Kudzu

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/
 

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

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,052
Latest member
LucyCarper

Latest Threads

Top