Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1215
WebDataMenu EnableExpandOnClick
posted

WebDataMenu EnableExpandOnClick doesn't seem to work correctly.

If I set EnableExpandOnClick = true, plus add an event for ItemClick, the root menu item never expands to show the child items.  (See attached project.)  Instead, the ItemClick event fires when the root item is clicked.

Here's the effect I'm trying to achieve:

1. User must click the root menu items to expand the menu.

2. The ItemClick event should never fire when the root item is clicked.

3. The ItemClick event should never fire when items with children are clicked.

This is just normal windows behavior.  I'm just trying to make my WebDataMenu act normal, but I'm not sure how.

BTW, another bug: If you add <GroupSettings ExpandDirection="Down" />, the menu is not under root item.  It goes to the far-left of the page.

WebApplication1.zip