RadContextMenu deleting items

2 posts, 0 answers
  1. Joseph
    Joseph avatar
    135 posts
    Member since:
    Sep 2007

    Posted 12 Jul 2010 Link to this post

    Hi Guys,

    I am trying to clear items of a ContextMenu but I cam gettings the following error : 

    Failed to assign to property 'System.Windows.Controls.ContentPresenter.Content.

    I am using the following code :

     ((GVContextMenuItem)ContextMenu.Items[3]).Items.Clear();

    Is there another way to clear Menu Itmes without using Clear() method.

    Thanks
  2. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 13 Jul 2010 Link to this post

    Hello Joseph,

    Could you send us project where we can reproduce this?

    Best wishes,
    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
  3. DevCraft banner
Back to Top