Page to scroll to the top after a postback [Resolved]
I have a page with a large form on it. The user fills in all the textboxes, whatever, clicks on Save, and the page does a postback, saves the info.
After the postback, the page will display, but scrolls down to the bottom where the save button was. I don't want this behavior. I'd like the page to go straight to the top after the postback.
How can I do this?
If I haven't been clear, ask me, I'll explain again.
Re: Page to scroll to the top after a postback
Set the smartNavigation property of the page to false. You must have set it to true which "remembers" the scroll position.
I never realized you could do that. Thanks, Frog.
Re: Page to scroll to the top after a postback
You're right. The person who made our base page had set smartnavigation to true, so I exposed a property in it, and disabled smartnavigation just for my page.
Thanks for the idea. :)
Re: Page to scroll to the top after a postback [Resolved]
how exactly u set this up?
set up the web config thingie?
Re: Page to scroll to the top after a postback [Resolved]
Set what up? Scrolling or non scrolling?