I use a RadMenu and specify ClickToOpen="True".
This works as expected. The user has to click a menuitem in order to expand the menu.
If the user clicks a child menuitem, the following javascript function is called:
Still this works as expected, i.e., the menu closes.
However if the user now hovers over the menu, the menu expands, i.e., the menu expands without a mouse click. This is unwanted.
This works as expected. The user has to click a menuitem in order to expand the menu.
If the user clicks a child menuitem, the following javascript function is called:
function closeNow() {
var menu = $find("<%= topMenu.ClientID %>");
menu.close();
}
Still this works as expected, i.e., the menu closes.
However if the user now hovers over the menu, the menu expands, i.e., the menu expands without a mouse click. This is unwanted.