Maintain Scroll Position on PostBack in ASP.NET
In order to maintain the page scroll position after the page gets postback, ASP.NET gives us three methods. They are:
1. In Web.config :
2. In single Page :
1. In Web.config :
<pages maintainScrollPositionOnPostBack="true">
2. In single Page :
<%@ Page MaintainScrollPositionOnPostback="true" ...
3. Programatically :Page.MaintainScrollPositionOnPostBack = true;
Labels: .net2.0, .net3.5, asp.net, positioning, postback, scroll, visual studio
Post a Comment