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.
This site is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. We also participates in affiliate programs with Udemy, and other sites. This site is compensated for referring traffic and business to these companies.