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

Detaching the RadContextMenu

1 Answer 43 Views
Menu
This is a migrated thread and some comments may be shown as answers.
dwhite
Top achievements
Rank 1
dwhite asked on 13 Sep 2010, 10:06 PM
I'm wondering how I can detach the RadContextMenu from a control after making a call to RadContextMenu.SetContextMenu.

Thanks,
-Damien

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 14 Sep 2010, 07:53 AM
Hello dwhite,

You can detach RadContextMenu the same way you attach it: RadContextMenu.SetContextMenu(control, null) or you could use the clear value method: control.ClearValue(RadContextMenu.ContextMenuProperty).

Let us know if you need more information.

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
Tags
Menu
Asked by
dwhite
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or