ASP Wizard and MaintainScrollPositionOnPostBack problem
Posted on 2006-06-22
I'm having an odd problem. I've build a fairly lengthy survey form and I decided to use the ASP:Wizard tool to implement it. The problem that I am running into is that I cannot find any way to maintain the scroll position on a postback event while still going back to the top of the page when the next button is pushed. These postbacks fires when certain controls are clicked on the page, which is apart from the prev/next buttons.
I've tried setting MaintainScrollPositionOnPostBack = false with the next click event, which does work. But, I still need to maintain the scroll position after it goes back to the top of the page. I can't figure out a way to get the page to go up to the top while still keeping the scroll position whenever anything besides the next/prev button is clicked.
Thanks for any help,