This is a migrated thread and some comments may be shown as answers.

Cannot use ContextMenuStrip which has submenus in autohidden windows

1 Answer 124 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 01 Feb 2013, 01:21 PM
Hi, 

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?

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Todorov
Telerik team
answered on 06 Feb 2013, 12:14 PM
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: http://www.telerik.com/support/pits.aspx#/public/winforms/14196. 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.

Regards,
Ivan Todorov
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Tags
Treeview
Asked by
Thomas
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or