Geeks With Blogs
Fórmulas e Cenas Object Reference Not Set to an Instance of an Object
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 Asp.Net | Back to top

Comments on this post: Keep Scroll on Postback

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Sglima | Powered by: