Maintain scroll position in ASP.NET

Posted by nikolaosk on ASP.net Weblogs See other posts from ASP.net Weblogs or by nikolaosk
Published on Sat, 06 Mar 2010 20:30:00 GMT Indexed on 2010/03/07 23:16 UTC
Read the original article Hit count: 1276

One of the most common questions I get is " How to maintain the scroll position-location when a postback occurs in our ASP.NET application? " A lot of times when we click on a e.g a button in our application and a postback occurs, our application "loses" its scroll position. The default behaviour is to go back to the top of the page. There is a very nice feature in ASP.NET that enables us to maintain the scroll position in ASP.NET. The name of this attribute is MaintainScrollPositionOnPostBack ....(read more)

© ASP.net Weblogs or respective owner

Related posts about ASP.NET

Related posts about Visual Studio