Archive for April, 2009

Pages jump to the top on post back in asp.net

I just found a switch which i wish i had found many months ago- when using drop downs which post back on change, because of the post back, the page jumps back to the top o fthe page which can be annoying on long forms.  This can be easily fixed by adding the MaintainScrollPositionOnPostback=true switch in the page directive at the top of the page.

No Comments