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

RadContextMenu deleting items

1 Answer 42 Views
Window
This is a migrated thread and some comments may be shown as answers.
Joseph
Top achievements
Rank 1
Joseph asked on 12 Jul 2010, 01:21 PM
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

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 13 Jul 2010, 06:55 AM
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
Tags
Window
Asked by
Joseph
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or