Karatas, FERHAT
I would love to change the world, but they won't give me the source code!
Asp.net menu in Safari
6.8.2008 15:59:18 - Filed under : Asp.net
Asp.Net 2.0 Menu Control is not working with Mac Safari browser properly. The mouseovers simply do not work, and when you click on one of the links, the menu disappears completely. This is a known issue.  First off, Safari gets served the menu adaptor which is fully functional but does not support the dynamic fly-outs.

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.

Keywords : Mac Safari, asp.net, hack
with 0 comments

What do you think ?
Security Code 8257
Check S. Code
Name  
Email  
Home Page  
Comments