Cannot use ContextMenuStrip which has submenus in autohidden windows

2 posts, 1 answers
  1. Thomas
    Thomas avatar
    25 posts
    Member since:
    Oct 2012

    Posted 01 Feb 2013 Link to this post


    I have RadDock with docked window to the left side. State of this window is auto-hidden. This window has one control RadTreeView which has assigned ContextMenuStrip. This ContextMenuStrip have menu with sub-menu items.
    In this case when I open menu and click at any sub-menu item (level 2 or deeper), my window hides, and event from menu item isn't fires. I'm using Controls from Q3 SP1

    P.S. If I click at pin button, to avoid window auto-hide, then everything works well.

    What should I do? Is there a workaround for this issue?
  2. Answer
    Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 06 Feb 2013 Link to this post

    Hi Thomas,

    Thank you for contacting us.

    I was able to reproduce the described issue. I logged it in our Public Issue Tracking System and we will try to address it in the upcoming release. Here you can track its progress: For the time being, you can  work around this issue by using RadContextMenu instead of ContextMenuStrip. You can assign the RadTreeView with a RadContextMenu by setting the following property:
    this.radTreeView1.RadContextMenu = this.radContextMenu1;

    Your Telerik points have been updated for your report. Should you have any further questions, do not hesitate to contact us.

    Ivan Todorov
    the Telerik team
    Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Back to Top