Home > ASP.NET, ASP.NET MVC > ASP.Net menu control not working in Chrome & Safari Browsers

ASP.Net menu control not working in Chrome & Safari Browsers


  1. In  Solution Explorer right click your application and add the “ASP.Net Folder”App_Browsers if you don’t already have it.
  2. Add a New “Browser File” item to this special folder and call it safari.browser.
  3. Delete all default coding in this file and replace it with the following:
    <browsers>
    <browser refID=”safari1plus”>
    <controlAdapters>
    <adapter controlType=”System.Web.UI.WebControls.Menu” adapterType=”” />
    </controlAdapters>
    </browser>
    </browsers>
  4. check in safari and chrome.

If this help you , give feedback it make me write more on day to day problem faced by us programmer

Advertisements
Categories: ASP.NET, ASP.NET MVC Tags: ,
  1. Gaurav Mangale
    July 5, 2012 at 8:22 PM

    Dear sujeet sir,

    if i am copy this code on the safari.browser file and run this application the error is show

    Parser Error Message: ‘”’ is an unexpected token. The expected token is ‘”‘ or ”’. Line 4, position 28.

    Source Error:

    Line 2:
    Line 3:
    Line 4:
    Line 5:
    Line 6:

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: