Tuesday, May 15, 2007

Hold Back Or Retain Scroll Bar Postion After PostBack Or Roundtrip

Page Directive

<%Page smartNavigation="True" %>

Global setting

                 <pages smartNavigation="true"/>

SmartNavigation Property available only in .NET 1.1,In ASP.NET version 2.0, the SmartNavigation property is deprecated.Use the SetFocus method and the MaintainScrollPositionOnPostback property instead.

Note Regarding SmartNavigation

  1. Eliminating the Flicker caused by navigation Or Postback.
  2. Persisting the scroll position when moving from page to page.
  3. Persisting element focus between navigations.

No comments: