asp.net postback scroll position help

Penhall

Perch
I have a question I am hoping someone has a solution or a workaround for. I'll preface that I am not a .net expert by a loooong shot but after many years of ASP development I finally decided to take the plunge.

Anyhoot.

I have a form which is divided into three sections (views) using a multiview panel. First section is the form itself, second section is a 'confirm information' section and the third section is the 'thank you, success' section.

All these sections sit in an updatepanel under a common header.
Anyway, as I use buttons to move from section to section, the page seems to maintain scroll position when I would rather have it shoot back up to the top of the page (the header) rather than only show, really at times, only a partial view of the focus view content.
Any suggestions to have it set scroll back to the top on a button submit??? (seems backwards to what everyone else is looking for on google)

I should say that the views sit inside the update panel because different form elements show/hide other items onchange etc.
Any help would be greatly appreciated.

Cheers
George
 
Back
Top