OK, yesterday I managed to get around this for the main menu and hopefully these instructions will help:
1. download the source zip file.
2. Open the project and open MenuAdapter.cs
3. Goto Line 77 (should start "string cssTag = ")
4. Insert the line below to change the ampersand character to the HTML code
filePath = filePath.Replace("&", "&"); 5. Goto Line 79 (should start "if (!Page.ClientScript"
6. Insert the lines below to create the header tag
HtmlLink link = new HtmlLink();
link.Attributes.Add("type", "text/css");
link.Attributes.Add("rel", "stylesheet");
link.Attributes.Add("href", Page.ResolveUrl(filePath));
7. Goto Line 84 (should start "Page.ClientScript")
8. Replace this line with the one below to write the page header
Page.Header.Controls.Add(link);
9. Goto Line 94 (should start "string cssTag = ")
10. Insert the line below to change the ampersand character to the HTML code
filePath = filePath.Replace("&", "&"); 11. Goto Line 96 (should start "if (!Page.ClientScript"
12. Insert the lines below to create the header tag
HtmlLink link = new HtmlLink();
link.Attributes.Add("type", "text/css");
link.Attributes.Add("rel", "stylesheet");
link.Attributes.Add("href", Page.ResolveUrl(filePath)); 13. Goto Line 84 (should start "Page.ClientScript")
14. Replace this line with the one below to write the page header
Page.Header.Controls.Add(link);
Looking throught the treeview.cs file you need to be looking to do this around the 220 line number. There only appears to be the one occurance that needs updating. Once done, compile the DLL and refresh your website
Hope that helps a bit