Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LOCATION OF WINDOW IN STATE? 7

Status
Not open for further replies.

bppj

Programmer
Jun 6, 2002
24
US
Ok, I know the subject doesn't make sense, but I'm not sure how to summarize what I'm trying to do:

I've got a page with a button at the bottom that can be "off the screen". i.e. you have to scroll to get there. When the button is depressed, I am enabling several controls at the bottom of the page. Problem is, upon postback and return, the viewer is returned to the top of the page and must scroll back down to the pertinent info...

Anyway to get the page to return to the bottom of the screen upon postback?

Thanks in advance,

B.J.
 
Hey BJ

Try this:

At the top of your page, where it has the @Page directive (this will be in the html view, not the code behind), add the line SmartNavigation="True"

Smart Navigation is supposed to reduce screen flicker on post backs, and more importantly for you, persist the scroll position and focus between postbacks.

Give it a shot and let me know if that worked out for ya

D'Arcy
 
PERFECT! Works as expected!

Thanks!!!
 
Thanks and a star to you for solving a problem I didn't know I had yet.

:)

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top