Geeks With Blogs
Fórmulas e Cenas Object Reference Not Set to an Instance of an Object June 2009 Entries
Keep Scroll on Postback
I think at some point everybody had this problem... A big form with some control that forces a postback. If you have scrolled down, the page scroll will be placed at the top.

To force the aspx to keep the scroll, just place the following instrucion on the <pages> tag of your web config.

<pages maintainScrollPositionOnPostBack="true">

Enjoy :)

Posted On Friday, June 5, 2009 11:30 AM

Copyright © Sglima | Powered by: | Join free