Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / May 2008

Tip: Looking for answers? Try searching our database.

Reset scroll position on AJAX postback

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark - 19 May 2008 13:23 GMT
Hi.

I have a page which has an update panel covering all of it.

When I do a server postback via the update panel, the screen remains in
the same scroll position - which is ok most of the time.

BUT - if on one of these postbacks within the update panel, I need to
reset the scroll position of the screen to the top - how can I do that?
I've tried .focus() on a control at the top of the page, but this
doesn't work.

Thanks for any guidance,

Mark
Mark - 21 May 2008 22:38 GMT
Hi - just wondering, if the only way to do this would be to not use
AJAX, and just use normal postbacks, which would results in the page
position being reset to 0?

Thanks, Mark

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.