BrianHawkinsTech

  • Increase font size
  • Default font size
  • Decrease font size
Home Development ASP.NET Menu control doesn't display properly in Chrome/Safari

ASP.NET Menu control doesn't display properly in Chrome/Safari

E-mail Print PDF
User Rating: / 1
PoorBest 

There is an issue with the current versions of Chrome and Safari browsers that can cause the ASP.NET menu control to not render properly.  If you are interested in understanding the how and why behind this, there is a great forum post here that describes the issue in more detail.  If you are like me and need to resolve the issue now so your site displays properly, here is a quick fix for the problem.

You need to put the following code into the Load event of your page's (or master page's) code behind file:

If Request.UserAgent.IndexOf("AppleWebKit") > 0 Then

      Request.Browser.Adapters.Clear()

End If

There may be other solutions to this issue, but this appears to be one of the simpler fixes.  Hope this helps!

 

Add comment


Security code
Refresh

Recommended Web Hosting

hawkinstech150x150ad

Free Stuff!

Visit my Advertisers

Toshiba - Toshibadirect.com






Newsflash

This site has been migrated to the new and improved HawkinsTech Hosting platform.  As part of this migration I have decided to upgrade and redesign the site.  I hope you found the new BrianHawkins Tech site to be more usable and helpful!