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.
3 comments:
Hi Eddie
I am having the same proble with the .NET menu control in Framework 2.0
First of all, in NET.Framework/3.5 there is no aspnet_regbrowsers, shall I use the one in 2.0 as described?
And secondly, could you explain again what section shall I delete in mozilla.browser ?
Thanks
(cont)
Eddie
I managed to resolve it thanks to your pointer.
I deleted the following section
controlAdapter sections that contain
controlType="System.Web.UI.WebControls.Menu"
adapterType="System.Web.UI.WebControls.Adapters.MenuAdapter"
And works now.
Thanks
Post a Comment