ASP.Net menu control not working in Google Chrome

ASP.Net menu controls breaks in Google Chrome and works fine in other browsers. Here is the hack to make it work in Google Chrome as well,

if (Request.UserAgent.IndexOf("AppleWebKit") > 0)

Just add this code on your page load and the menu control will start working fine in Google Chrome as well.

Also some times the hover menus don’t work on IE8 to make it work on IE8 you need to set


in DynamicMenuStyle property of the menu control.

Hope this helps 🙂