Home All Groups Group Topic Archive Search About
Author
6 Mar 2006 8:16 PM
blackstaronline.net
Hi,

I have a several buttons that when clicked makes a postback and
executes some code. My page has a lot of data on it so the user will
work their way down the page having to use the scroll bar to view it
all. But when a post back happens the screen returns to the top.


This can get very annoying when they make a simple change to the lower
half of the screen and immedietly have to scroll down to see the
changes everytime.


Anybody know how I can make the page return to the same position on the

page as before the postback was fired?


a BIG thanks in advance for the help,
Jeremy Reid
http://hgtit.com

Author
6 Mar 2006 8:45 PM
blackstaronline.net
UPDATE -

I found the answer online. There is a free .dll that this guy made to
capture the scroll position through client side javascript and then
return to that exact position on postback. I tested it out and it works
perfectly.

http://aspalliance.com/356


Jeremy Reid
http://hgtit.com
Author
6 Mar 2006 10:15 PM
Brendan Green
Or, you could just set "smartNavigation = true" on the page.

Show quoteHide quote
"blackstaronline.net" <jr***@blackstaronline.net> wrote in message
news:1141677931.063003.225000@u72g2000cwu.googlegroups.com...
> UPDATE -
>
> I found the answer online. There is a free .dll that this guy made to
> capture the scroll position through client side javascript and then
> return to that exact position on postback. I tested it out and it works
> perfectly.
>
> http://aspalliance.com/356
>
>
> Jeremy Reid
> http://hgtit.com
>