Missing ContextMenu Property

2 posts, 0 answers
  1. Calvin
    Calvin avatar
    12 posts
    Member since:
    Jun 2010

    Posted 12 Jul 2010 Link to this post

    When I add the Control Template for the Telerik Tab Control to my project, I get the following build error:   The property 'ContextMenu' does not exist on the type 'ToggleButton' in the XML namespace 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls'.    

    The version of Telerik Silverlight Controls which we are using is RadControls_for_Silverlight_4_2010_1_0603_DEV. 

    Here is the offending section from the Control Template:

    <ToggleButton x:Name="DropDownButtonElement" telerik:RadDockPanel.Dock="Right" IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Margin="2 4 4 2" Style="{TemplateBinding DropDownButtonStyle}" Visibility="Collapsed">
                                   <telerik:RadContextMenu.ContextMenu >
                                       <Telerik_Windows_Controls_TabControl:DropDownMenu x:Name="DropDownMenuElement" DisplayMemberPath="{TemplateBinding DropDownDisplayMemberPath}" ItemTemplate="{TemplateBinding ItemDropDownContentTemplate}" IsOpen="{Binding IsChecked, ElementName=DropDownButtonElement, Mode=Twoway}" ItemTemplateSelector="{TemplateBinding ItemDropDownContentTemplateSelector}" Placement="Bottom" Style="{TemplateBinding DropDownStyle}" StaysOpen="False"/>

    There is also an error message stating that The attachable property 'ContextMenu' was not found in type 'RadContextMenu'. 

    We have been working on this project for a while and previously were using an earlier version of the Telerik Controls.
  2. Kiril Stanoev
    Kiril Stanoev avatar
    1512 posts

    Posted 15 Jul 2010 Link to this post

    Hello Calvin,

    Thank you for contacting us. We are not aware of such problem with RadTabControl. Is it possible for you to isolate the problem in a separate project and send us this project so we can debug and determine what is causing the issue. This way we will be better able to assist you.

    On a side note, I'd like to inform you that we've just released an online tool that allows you to reduce the size of your Silverlight applications. For more information, please visit http://blogs.telerik.com/blogs/posts/10-06-10/telerik_assembly_minifier.aspx

    Kiril Stanoev
    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