The site I\'m working on is using a Databound asp:Menu control. When sending 1 menu item it renders HTML that is absolutely correct in Firefox (and IE), but really messed u
Here's the easiest way to fix this issue for both chrome and safari if you have multiple web apps:
Create a file named safari.browser in "%SystemRoot%\Microsoft.NET\Framework[version]\CONFIG\Browsers" that contains the following:
This will tell asp.net not to use an adapter when rendering the menu control for safari. Safari1Plus is defined at the end of the mozilla.browser file in the same directory. This works for chrome as well because they both use webkit which is how asp.net identifies Safari1Plus.
Next run %SystemRoot%\Microsoft.NET\Framework[version]\aspnet_regbrowsers -i
this will compile all the browser files into an assembly and add it to the GAC.
now the asp.net menu will render correctly in safari and chrome.
Alternatively you can add the file the the App_Browsers directory in each of your web apps.