This question is locked. New answers and comments are not allowed.
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:
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.
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"/> </telerik:RadContextMenu.ContextMenu> </ToggleButton>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.
