Saturday, November 1, 2014

A Technique for Maintaining Scroll Position on Postback in ASP.NET 2.0

Page directive supports a feature to maintain scroll position on page PostBack.  As we add the below page directive.






Above code inject JavaScript to return scroll position and also add state to hidden field to remember scroll position.

No comments:

Post a Comment