ASP.NET: Maintain Scroll Position On Postback
Apr 3, 2006 • Chris Pietschmann • ASP.NETThe MaintainScrollPositionOnPostback
page directive attribute allows pages to automatically maintain the current scroll position across postbacks. This feature is useful for large pages where scrolling is necessary to view input controls down further on the page. This works in ASP.NET 2.0 and later.
<%@ Page MaintainScrollPositionOnPostback="true" %>
A simple but very useful feature.

Chris Pietschmann
DevOps & AI Architect | Microsoft MVP | HashiCorp Ambassador | MCT | Developer | Author
I am a DevOps & AI Architect, developer, trainer and author. I have nearly 25 years of experience in the Software Development industry that includes working as a Consultant and Trainer in a wide array of different industries.