Position page on load and keep state?
My .NET web page consists of several sections, if I scroll down to a section,
enter some data and hit update, when the page is reloaded it is positioned
at the top of the page and not on the section I was working on. This is
confusing for users. How would one do a page load, and postion where it
was before (say at a specified anchor)- while at the same time maintining
viewstate on the page (IsPostBack must remain true) - so we can not do a
Redirect("www.MyPage.com#MyAnchor") - as this will start a fresh instance
of the page and we loose our state?
I hoping there is some code I can run in the page load which will jump the
page to the required position/location.
Any help apprecaited.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL