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)