Exforsys.com
 

Sponsored Links

 

Microsoft.NET Tutorials

 
Home Tech Articles Microsoft.NET
 

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.



Read Next: Email Sending from Gmail



 

 

Comments


riko said:

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

Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links

 

Subscribe via RSS


Get Daily Updates via Subscribe to Exforsys Free Training via email


Get Latest Free Training Updates delivered directly to your Inbox...

Enter your email address:


 

Subscribe to Exforsys Free Training via RSS
 

 
Partners -  Privacy and Legal Policy -  Site News -  Contact   Sitemap  

Copyright © 2000 - 2009 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape