I have set default context menu for the RadRichTextBox. It works well.
But after setting RadContextMenu for the RadRichTextBox's parent control, when I right click, two menus popup.
How to prevent the context menu of parent control
1 Answer, 1 is accepted
0
Boby
Telerik team
answered on 10 May 2011, 09:22 AM
Hi deng yingxin,
You are right, there is a bug in RadRichTextBox that causes appearing of both parent and self context menus. This should be fixed in the next version (2011 Q2). As a temporary workaround, you could close the parent menu just after opening the RadRichTextBox context menu:
((ContextMenu)this.radRichTextBox1.ContextMenu).Opened += (s, a) =>
We awarded you some Telerik points in appreciation for this bug report.
All the best,
Boby
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