ASP.NET Menu Control Cannot Work in Google Chrome browser and Apple Safari browser

Issue:

If your website is using ASP.NET Menu Control, the menu part will not work in Google Chrome browser and Apple Safari browser. The look and feel of the main menu are different. The submenu does not show up.

Solution:

There is an easy fix for this problem. Just copy and paste the following codes to your page load event of your code-behind master page file. You may need to copy it to every page if you do not use the master page. 
 
    Partial Class Main
	    Inherits System.Web.UI.MasterPage

        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            If Request.UserAgent.IndexOf("AppleWebKit") > 0 Then
                Request.Browser.Adapters.Clear()
            End If
        End Sub
    End Class
 
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to secure your WordPress?

WordPress is an open-source application so security level issues you may face but Do not worry...

Install themes into the wordpress

What is the WordPress theme? A WordPress Theme is a collection of files that work together to...

Top 5 e-commerce applications

What is e-commerce?   E-commerce (electronic commerce) is the buying and selling of goods and...

How to Install Wordpress Website?

WordPress is a free and open-source content management system (CMS) based on PHP and MySQL....

How To Check DotNetNuke Install Instance Version?

> Please login to your DNN site with your host account. > Please Navigate to Host >...

Powered by WHMCompleteSolution