Asp.net menu control in mac safari browser

Asp.Net 2.0 Menu Control is not working with Mac Safari browser properly.
Use below code to your page_load event and see the magic

if (Request.UserAgent.IndexOf(“AppleWebKit”) > 0)
{

Request.Browser.Adapters.Clear();

}
if you are using Master page then paste this code into master page code behind page.

for more detail Click here

4 Responses

  1. Neat

  2. Great, thanks!
    However, does anyone else experience this problem?

    Safari or Chrome, do not display the menu correctly upon first page load.
    It only looks & behaves ok if the user reloads the page (2nd time).
    Any ideas?

  3. thanks a lot, having search this solution for a while. this is the best one I get so far!

Leave a Reply