Asp.Net smartnavigation loses stylesheet

If any one has tried turning Smartnavigation on, they know what I am talking about. There seems to be a bug which cause the page to lose the stylesheet which you have put at the top of your page. The simple solution is to add the stylesheet dynamically. So instead of :
< link href=”../includes/styles.css>
 

you need to do this :…………..
 
  document.createStyleSheet(“../includes/styles.css”);
 
 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s