alt
Advertisement
Sponsored links
Online Training
Career Series
Exforsys
Exforsys arrow Tech Articles arrow Microsoft.NET arrow Smartnavigation property in ASP.NET
Site Search


Smartnavigation property in ASP.NET

Smartnavigation property in ASP.NET

SmartNavigation is the property that enables the individual controls on users Web forms to maintain focus between postback, as well as allows one to suppress that flicker that occurs as a person load the new page.

The features of SmartNavigation property are namely: 

1.  Maintaining element focus between post backs:

When a post back occurs, the active control on the Web page loses its focus. When a keyboard is used for navigation the users has to press the Tab key several times to return to their original position of data entry. However, when smart navigation is enabled information about the active control is maintained between post backs to the server. 

2.   Eliminate page flash caused by page post back 

3.   Prevents each post back from being saved in the browser history: Normally, every post back to an ASP.NET page causes an entry to be created in the browser's history. This defeats the purpose of the browser's back button because instead of going back to the previous page, users are taken to the previous state of the current page. Smart navigation prevents this from happening by saving only the latest state of the current page to be saved in the browser's history.

To set this property of SmartNavigation in ASP.NET one has to set the smartNavigation property of their ASPX page to True. It is also possible to set this property of SmartNavigation to all their pages in the application by using the pages tag in the Web.config file.


Trackback(0)
Comments (1)add comment

riko said:

  it dosen't load css file on post back it lost it ,
Microshit....
January 11, 2007

Write comment

busy
 
< Prev   Next >
Exforsys Offers
© 2008 Exforsys.com
Joomla! is Free Software released under the GNU/GPL License.
Page copy protected against web site content infringement by Copyscape