When ever there is a request from a web browser which is IE 5.0 or greater Smart Navigation enhances the user feel of the page.
These are the different functions which this smart navigation performs.
1) It Persists the element focus between navigation's.
2) It also persists the scroll position when user traversing from one page to another.
3) It eliminates the flash content which was caused by navigation.
4) Most important feature is retaining the last page state in the browsers history.
This is how we can set the Smart Navigation :
We can set SmartNavigation attribute at the @ page directive in the .aspx page. So when the page is requested the dynamically generated class sets this attribute.
Note : This property is best useful when a particular web site has frequent postbacks.
Asked In: Many Interviews |