0
Posted on 5:43 AM by prajeesh and filed under
In some situations we may need to maintain the scroll bar position when we are dealing with large pages with a button causes post back, you can use achieve this by adding MaintainScrollPositionOnPostback=”true” in @Page directive.
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" MaintainScrollPositionOnPostback ="true"  %>  
Shout it kick it on DotNetKicks.com
0
Responses to ... Maintaining scrollbar position after postback in an asp.net page