ASP.NET 2 — SmartNavigation property

 
 

Home > ASP > Smart Navigation

If you are using ASP.NET 2 to create applications to run in IE, and you are not using the SmartNavigation property, then you are quite mad. Why it isn't turned on by default in every ASP.NET application is a complete mystery to me. All you have to do to turn it on is put this in the <%@ ... %> section at the top of your .aspx file:

SmartNavigation="True"

It reduces flickering when the page reloads in the browser, and it also helps to keep components to keep their focus during postback. It doesn't help to keep panels that have scrollbars to stay in position though. I haven't worked out how to do that yet :-(

Watch out though, because FireFox doesn't know what to do with it.


Page last updated on 6 November 2006