Friday, September 12, 2008

Display ASP.NET's menu in Safari or Google's Chrome

To fix the incorrect and ugly rendering of ASP.NET's menu component in Apple's Safari or Google's Chrome browsers. You need to do the following.

1. Make sure you have admin privilages
2. Go to
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\Browsers
3. Open up mozilla.browser with notepad or any other text editor
4. Find this section 
5. Delete enitre  section within  section 
6. Under command prompt, run
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regbrowsers.exe -i

After the above steps, the rendering of an ASP.NET menu will be the same as it is rendered on IE.