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

2 posts, 0 answers
  1. Balsuyambu
    Balsuyambu avatar
    37 posts
    Member since:
    Sep 2010

    Posted 15 Jun 2011 Link to this post

    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.

     

  2. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 16 Jun 2011 Link to this post

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