maybe I can help you all with this issue as well. What I did to enable the asp:menu for Safari was to add a file called safari.browser to the App_Browsers folder. The contents of safari.browser are as follows:
Basically the refID matches a browser id in the original browser configuration files for the .Net framework. In our custom .browser file we override the control adapter settings for the asp:menu control for this specific browser.
There's one catch. Safari will crash when the browser window is too small to contain all the items in the menu and you hover over then out of the menu. I can not confirm this is true for Safari in general, but I have consistently seen this behavior on a
Mac with OS X 10.3 and Safari 1.3, so be sure to test this case. This might be the reason that Microsoft decided to render an alternative menu for Safari.
Let me know how this works out for you, I'd appreciate any feedback on this solution. Thanks!
I just wanted to let you know (even though this is a very old thread) that you saved me so much time. Your solution fixed my problem perfectly. I had the same problem as the OP. There's tons of functionality in the .browser files that I wish I knew from day
one. They have fixed so many of my Safari issues.
Unfoturnately the ability to press a thanks button appears to have gone from this thread, but a heart-fet thanks, just the same, from me.
Don't know whether this has been suggested here previously by anyone or not, but would like to add my comments too. It may be silly and wrong but it resolved one of my problem and hence posting here.
Try using the Menu's Table RendiringMode i.e. RendiringMode="Table"
I was facing the problem of MailTo link not working properly on IE 8 browser on Windows 7. It was opening the provided email id in a browser window and was also opening my default mail client. But, the same code was working properly on IE 8 browser on Windows
XP. And the cause was the Rendering Mode of the Menu control. By setting it to "Table" and changing the CSS accordingly was able to resolve the issue.
I hope it may resolve this problem too..
Sumit Pathak ------------------
ThisPost = Helped == True ? "Mark As Answer" : "Elaborate your problem in more details"
netproblems
Member
36 Points
89 Posts
Re: Safari browser and asp:menu
Apr 15, 2010 08:48 AM|LINK
Unfoturnately the ability to press a thanks button appears to have gone from this thread, but a heart-fet thanks, just the same, from me.
raji539
Member
46 Points
25 Posts
Re: Safari browser and asp:menu
Mar 23, 2011 04:47 AM|LINK
After adding this one it's work for all browsers
if (Request.UserAgent.IndexOf("AppleWebKit") > 0) { Request.Browser.Adapters.Clear(); }for IE8...
Add css Proferty in StyleSheet
.IE8Fix
{
z-index: 1000;
}
and add the css property as follows...
Rajesh Kumar Chekuri
http://www.funevil.blogspot.com
http://techtasks.net
netproblems
Member
36 Points
89 Posts
Re: Safari browser and asp:menu
Aug 04, 2011 08:15 PM|LINK
With net 4, and using the Menu's List RendiringMode, Safari now works fine without my App_Browsers file.
animeshsanto...
Member
336 Points
87 Posts
Re: Safari browser and asp:menu
Aug 06, 2011 05:27 AM|LINK
hi gozoliet
i had same problem and i put following code into MasterPage Where i put asp:menu
so here is the code try this
AlistairSmit...
Member
15 Points
19 Posts
Re: Safari browser and asp:menu
Jan 10, 2012 03:46 AM|LINK
This fixed it on Android too... (.net 4)
Thanks
Sum8
Contributor
4141 Points
931 Posts
Re: Safari browser and asp:menu
Jan 10, 2012 04:05 AM|LINK
Hi Guys,
Don't know whether this has been suggested here previously by anyone or not, but would like to add my comments too. It may be silly and wrong but it resolved one of my problem and hence posting here.
Try using the Menu's Table RendiringMode i.e. RendiringMode="Table"
I was facing the problem of MailTo link not working properly on IE 8 browser on Windows 7. It was opening the provided email id in a browser window and was also opening my default mail client. But, the same code was working properly on IE 8 browser on Windows XP. And the cause was the Rendering Mode of the Menu control. By setting it to "Table" and changing the CSS accordingly was able to resolve the issue.
I hope it may resolve this problem too..
Sumit Pathak
------------------
ThisPost = Helped == True ? "Mark As Answer" : "Elaborate your problem in more details"