Last post Apr 14, 2017 05:48 AM by sanjaythavi
May 18, 2015 02:29 PM|landry|LINK
Have asp:menu (horiz) that works fine on desktop browsers, IE, Safari, Chrome - however, on my Android phone the submenus do not pop open.
Was wondering if there is an easy fix for this?
May 19, 2015 04:27 AM|Li Wang|LINK
Thank you for your post.
According to your description, you could customizing and enhancing browser detection.You have two main options for overcoming the limitations of the default browser-detection facility:
1.You could supply your own .browser files to represent newer devices.
2.You could use a third-party browser-detection library.
Or you could create a different master page for mobile device. Code below is for your reference.
protected override void OnPreInit(EventArgs e)
MasterPageFile = "~/Mobile.Master";
For more information, link below is for your reference.
Hoping my reply could be helpful to you.
May 19, 2015 01:02 PM|landry|LINK
Thanks for your reply.
I assume that your telling me that the asp:menu control will not work on Android's Chrome?
And that I should detect mobile devices and design a master page and or pages accordingly?
I can do this and accept as an answer but still wondering on the asp:menu control for Android mobile issue - can you give me a precise yes or no? Ex. asp:menu CAN or CAN'T work on Android/Chrome...
asp:menu control seems to work fine with iPhone with Safari.
May 19, 2015 09:09 PM|Li Wang|LINK
asp:menu CAN work on Android/Chrome.
Below link is for your reference. Here are
May 20, 2015 12:53 PM|landry|LINK
The remedies in this link don't seem to work for Android using Chrome. This link may be for earlier version of Chrome and Safari in general when using asp:menu....?
Chrome and Safari work fine on desktop and Safari with OSX or iOS without any fixes. It seems to be only Android on phones (testing with Samsung Galaxy 5) that has the issue. Issue being not dropdown child nodes or sub menu appear.
Probably will have to implement a different menu other than asp:menu as best solution.
Jun 19, 2015 06:35 AM|le-heron|LINK
I have exactly the same problem as you.
Actually do not know how to solve my issue on android device.
By your side how do you proceed since your last message ?
Feb 06, 2016 05:31 PM|Greg430|LINK
My main reason for using ASP.NET is to have UI components that are supported by Microsoft and work correctly on any HTML5 platform (unless the platform has a known bug).
Projects/Links that have been provided are not so easy, some aren't working, and it's all adding specific code which I would like to avoid.
Instead, shouldn't this issue of ASP Menu on Android Chrome be fixed ?
Feb 06, 2016 05:38 PM|markfitzme|LINK
Keep in mind, the links may not work because this post is from last May. Also, the menu's behavior depends on how it's set. Older versions of the menu emitted html tables for their layout. Newer versions give the option for a better ul/li layout. If the
developer targets the wrong version, this will happen. There is also additional support in class over-rides for the css for tailoring. Additionally, HTML 5 has still not been released and was in it's very initial stages when the 4.x framework was released.
There has been improvement in newer versions, but MS doesn't have to backport that functionality into earlier releases that are now unsupported (support ended for 4.5.1, 4.5, and 4.0 in January).
Mar 12, 2016 12:49 PM|Greg430|LINK
You're correct, might be an old bug. I have upgraded the build and azure settings to 4.6.1/4.6 and now it works better.
I manage to open menu items using a long-click ; but it does not work very well - although that may be for another reason now ; may display is too small and I should adjust this.
On Safari/iPhone, it works better.
You can check : www.optimcredit.com
Apr 14, 2017 05:48 AM|sanjaythavi|LINK
i simply changed .net version from 2.0 to 4.0 in IIS and menu are showing, page alignment also improved.. !!!