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

RadContextMenu - Failed to assign to property 'System.Windows.Setter.Value'

1 Answer 68 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Balsuyambu
Top achievements
Rank 1
Balsuyambu asked on 15 Jun 2011, 02:34 PM
Hi

I am getting Failed to assign to property 'System.Windows.Setter.Value'. [Line: 33 Position: 12] error in RadContextControl and please find below the code.

 

 

 

<telerik:RadContextMenu.ContextMenu>

 

 

 

 

<telerik:RadContextMenu x:Name="ContextMenu" ItemClick="ContextMenuClick"

 

 

 

Opened="ContextMenuOpened">

 

 

 

 

<telerik:RadMenuItem Header="New Child" Name="Child1" />

 

 

 

 

</telerik:RadContextMenu>

 

 

 

 

</telerik:RadContextMenu.ContextMenu>

I am using Telerik Silverlight 2011.1.510.1040 Version

Thanks
Balsuyambu S.

 

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 16 Jun 2011, 11:28 AM
Hello Balsuyambu,

Silverlight does not allow to assign controls from Setter. For example you cannot assign ToolTip using Style setter.
Please add context menu to the instance of the control (not using style).

Greetings,
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
Balsuyambu
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or