Smart navigation is deprecated in Microsoft ASP.NET 2.0 and is no longer supported by Microsoft Product Support Services. This article describes how to implement the smart navigation features in ASP.NET 2.0.
For more information check http://support.microsoft.com/kb/913721
Thanks to Deepak for posting this in the comments.
This article describes about using the Smart Navigation property to maintain the scroll position of pages across postbacks.
All of us know that asp.net controls postback to the server and hence the page is reloaded everytime an event is triggered.
Supposing we have a very long page with lots of controls. A user is in the middle of the page and triggers an event (say click event), which causes the page to postback. Then the page will be reloaded and the position would go to the top.
This could be particularly annoying if the user has to scroll down long and repetitively.
To avoid this, ASP.NET provides the SmartNavigation property for the page which takes care of the scroll position.
SmartNavigation also avoids the flickering of the page when the page is reloaded.
It can be enabled by simply setting its value to true in the page directive, as follows:-
<%Page smartNavigation="True" %>
Alternatively, it can be specified as a global setting in the web.config as follows:-
<configuration>
<system.web>
<pages smartNavigation="true"/>
</system.web>
</configuration>
This would apply for all the pages that fall under the web.config's settings.
This is a wonderful mechanism particularly if you have lengthy pages and repetitive server side interactions.
This works only for Internet Explorer browsers and for Netscape, it is simply turned off automatically.
Another issue that may arise is when using javascript and dhtml scripts as they will not be rendered again while using smartnavigation.
Cheers !!!