Fórmulas e Cenas

Object Reference Not Set to an Instance of an Object

  Home  |   Contact  |   Syndication    |   Login
  45 Posts | 0 Stories | 13 Comments | 0 Trackbacks

News

Archives

Post Categories

Links

June 2009 Entries

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 :)