We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Prevent web menus from closing on click

Thread ID:

Created:

Updated:

Platform:

Replies:

71495 Feb 2,2008 12:19 AM UTC Feb 8,2008 12:53 PM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: Tools
Julie Levy
Asked On February 2, 2008 12:19 AM UTC

Hi -
We use the "Expand On Hover" functionality for the web menus (ExpandOnClick is false). However, users sometimes click on the menu root to open it causing the menu to expand (from the hover) and then immediately close (from the click). Is there a way to prevent the menu from closing on click.
Thanks,
Julie


Yavanaarasi G [Syncfusion]
Replied On February 4, 2008 01:23 PM UTC

Hi Julie,

Thank you for your interest in Syncfusion products.

Is there a way to prevent the menu from closing on click?

By default MenuItems get expanded on MouseOver event and collapsed on MouseOut event.

On setting the "ExpandOnClick" property to "True", the Menu items get expanded when clicked.

The property like "CollapseOnClick" which helps you to Collapse the MenuItem when an OnClick event is triggered, so that MenuItems get "Expand" and "Collapse" on simultaneous click event.

Regards,
G.Yavana



Julie Levy
Replied On February 4, 2008 07:45 PM UTC

I'm not sure you are answering my question... i'll restate my question.

We have ExpandOnClick = false. If the user clicks on the menu root while the menu is open, the menu closes. Since we are not using clicks to activate the menu we do not want this behavior (collapse on click). Is there a way to prevent the menu from collapsing when the user clicks on it when ExpandOnClick = false?

Thanks,
Julie


Yavanaarasi G [Syncfusion]
Replied On February 8, 2008 12:53 PM UTC

Hi Julie,

Sorry for the delay in responding.

Is there a way to prevent the menu from collapsing when the user clicks on it when ExpandOnClick = false?

We cannot achieve both the behaviour simultaneously. Sorry for the inconvenience caused.

Please let me know if you have any concerns.

Regards,
G.Yavana



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;