Mark Mintoff My superpower is common sense

11Jun/134

ASP.Net Update Panel Flickering Scroll Issue

There appears to be an issue with the ASP.Net Update Panel which causes scroll position to be lost in between page reloads, making the page appear jumpy.

This is a very simple, yet effective fix:

The secret is this little nugget of javascript written exactly after the Script Manager:

This disallows the resetting of the scroll position, meaning that the original scroll position is maintained.

VN:F [1.9.22_1171]
Rating: 5.0/5 (3 votes cast)
ASP.Net Update Panel Flickering Scroll Issue, 5.0 out of 5 based on 3 ratings
Comments (4) Trackbacks (0)
  1. That’s awesome dude! It worked like a charm ;)

    Thanks!

  2. Struggled with this for 2 days — tried all the other fixes, setting position in the endRequest, but still caused flickering in IE. This is it!! THANK YOU !!!!
     

  3. Great, thank you, I was just working to solve this problem for two hours :)


Cancel reply

No trackbacks yet.