Detaching the RadContextMenu

2 posts, 0 answers
  1. dwhite
    dwhite avatar
    12 posts
    Member since:
    Feb 2007

    Posted 13 Sep 2010 Link to this post

    I'm wondering how I can detach the RadContextMenu from a control after making a call to RadContextMenu.SetContextMenu.

  2. Hristo
    Hristo avatar
    832 posts

    Posted 14 Sep 2010 Link to this post

    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,
    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
Back to Top