|
-
May 17th, 2005, 09:28 AM
#1
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.
Last edited by mendhak; May 18th, 2005 at 12:39 AM.
-
May 17th, 2005, 03:52 PM
#2
Frenzied Member
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.
-
May 18th, 2005, 12:37 AM
#3
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.
-
May 24th, 2005, 10:11 PM
#4
Lively Member
Re: Page to scroll to the top after a postback [Resolved]
how exactly u set this up?
set up the web config thingie?
-
May 24th, 2005, 11:53 PM
#5
Re: Page to scroll to the top after a postback [Resolved]
Set what up? Scrolling or non scrolling?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|