SmartNavigation Issues

  • Thread starter Thread starter Snig
  • Start date Start date
S

Snig

Hi All

I wanted to enable "SmartNavigation" in my site.
For this I put <pages smartNavigation="true" /> in web.config file. So far
so good. But it causes the link from the aspx pages to the css files be
broken.

When an aspx page opens up for the first time, it displayed everything fine
as per the linked css file. But after postback the page is displayed without
any formatting, i.e. as if it could not find the css file.

If I remove the corresponding line from web.config file, it works fine. Even
I observed the same behaviour if I add smartnavigation="true" in the page
directive instead of the web.config file.

Any clues ?

Thanx a lot.
 
enable the smart nav. After the post back, view source. Check the href for
the css file, does it contain the entire URL?
 
the URL of the css seems to be same before and after postback.
still before postback it is applying the css and after postback not.

but how come this kind of behaviour originates as a result of
"smartnavigation" ? as without smartnav the page works fine !
 
Back
Top