Peter's Gekko

Sponsors

The Lounge

News

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Smart navigation : view source / save as in IE does not do what you expect it to do.

Here's another quirck in smart naviagation.

I have an aspx page with a lot of optional panels. In the prerender event the visibilty of the panels is set. This way I have the functionality of a multiple tabbed page. A radiobuttonlist makes up the tab-index, the panels are the tab-pages. Works great.

Things get weird when I want to check the html emitted via Save/as or view source in IE. When smartnavigation is set to true IE will always return the HTML as it was on the first roundtrip. In my case the initial tab. Disabling smartnav or setting another initial tab does produce the html I was looking for.

Peter


Posted 06-15-2004 10:32 AM by pvanooijen

[Advertisement]

Comments

Andy Foster wrote re: Smart navigation : view source / save as in IE does not do what you expect it to do.
on 12-03-2004 12:03 PM
Hi Peter,

I can confirm this behavior. It does always seem to show the first impression of HTML when viewing the source code and SmartNavigation is set true.

I've no idea why though...:-(

Peter's Gekko wrote SmartNavigation has Internet Explorer displaying the wrong html source
on 01-11-2006 7:28 AM
SmartNavigation is a feature which can cause quite a lot of trouble. It is a property of an asp.net webpage...

Add a Comment

(required)  
(optional)
(required)  
Remember Me?