Closing sub menu programmatically (RadMenu)

2 posts, 0 answers
  1. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 01 Jul 2008 Link to this post

    I have several menus in the same user control. When a submenu in one of them opens I want to close the open sub menus in all the other menus (I'm using ClickToOpen=True). I can't find a way to programmatically close a RadMenuItem. Is there such a way?

    A suggestion: Add a property to the menu: CloseOnBlur, true/false. For my application I need ClickToOpen=true, but I would also like to have the menu close when the mouse leaves it. In the current version, when I set ClickToOpen= true the menu changes its behaviour so that it doesn't close when the mouse leaves the menu, but it just stays open. As a default behaviour it's fine, but it should be possible to override it.
  2. Hristo
    Hristo avatar
    832 posts

    Posted 02 Jul 2008 Link to this post

    Hi Henrik,

    Thanks for sharing your thoughts on the matter.

    We added your suggestion to our To-Do list for the forthcoming RadMenu editions. Currently, there is no way to programmatically close the menu groups. This is surely a limitation and we will do our best to enhance the RadMenu's behavior.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft R3 2016 release webinar banner
Back to Top