RadMenuItem - HideDelay

7 posts, 0 answers
  1. Mark
    Mark avatar
    5 posts
    Member since:
    Apr 2009

    Posted 05 Oct 2010 Link to this post

    I have a  multi-tier radmenu inside a dropdownbutton.

    The problem is that when I hover over an item with a submenu, the submenu appears OK, but as I drag the mouse over to select an item in this submenu, it often disappears. This is because a user generally doesn't drag directly across the top level item into the submenu, and then down to the selected item. What you usually do is drag the mouse diagonally towards item in the submenu you want to select. During this drag, you actually mouse over the menu item beneath the toplevel item, clsoing the submenu and selecting the next item down in the top level menu.

    Top Level 1 Sub Menu 1
    Top Level 2 Sub Menu 2
    Sub Menu 3 Sub Menu 4
    Sub Menu 5

    So in the above example, if I wanted to get from top level 1 to sub menu 5, I would drag the mouse diagonally over Top Level 2, thus closing the submenu.

    Is there any way of avoiding this?
  2. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 06 Oct 2010 Link to this post

    Hello Mark,

    There are two properties that you can use HideDelay and TopLevelHideDelay. The first one is used on for submenu items while the second one is used only for TopLevel Items. Just set the duration to what you think is good for your case.

    Let us know if you need additional information.

    Kind regards,
    Hristo
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Mark
    Mark avatar
    5 posts
    Member since:
    Apr 2009

    Posted 07 Oct 2010 Link to this post

    I do not see a property TopLevelHideDelay. I am using 2010.2.0924.1040 set of dlls on trial. The dev versions of these do not seem to be available yet - is that correct?

    Thanks

    Mark
  5. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 08 Oct 2010 Link to this post

    Hi Mark,

    This is property of RadMenu and is applied to all top level items.

    Let us know if you need more information.

    Kind regards,
    Hristo
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Michael Warriner
    Michael Warriner avatar
    2 posts
    Member since:
    Oct 2006

    Posted 08 Oct 2010 Link to this post

    As mentioned in the last post, its not a property on the RadMenu in my build, 2010.2.924.1040. That is the latest trial build from your site.

    Any suggestions?
  7. Michael Warriner
    Michael Warriner avatar
    2 posts
    Member since:
    Oct 2006

    Posted 08 Oct 2010 Link to this post

    Apologies, I've just noticed you are referring to RadMenu, NOT RadContextMenu as I am using. What is the difference, apart from one not having the TopLevelHideDelay?
  8. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 08 Oct 2010 Link to this post

    Hello Michael,

    RadContextMenu doesn't have such properties TopLevelShow/HideDelay because RadContextMenu does not contains TopLevelItems It can contain only submenu header items (items with subitems) and submenu items (items without subitems).
    Also RadContextMenu is opening on specific event (MouseRightButtonUp by default) so it is not visible until this event occurs.
    From UX perspective most of the time RadMenu is used as a global menu visible on the main page while RadContextMenu is specific for control and provide easy access to control specific logic or behavior.

    Let us know if we can help you further.

    All the best,
    Hristo
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
DevCraft banner