I'm seeing the following messages appear in the output window of visual studio (2012).
I'm not sure why or how to resolve them, can anyone explain how?
The XAML is defined as follows, we use a behaviour to expand the rows when first loaded.
<telerik:RadTreeView Margin="5"
controls3:StyleManager.Theme="Windows7"
IsExpandOnSingleClickEnabled="True"
SelectionMode="Single"
IsEditable="False"
IsRootLinesEnabled="True"
DisplayMemberPath="Title"
ItemsSource="{Binding Filters, Mode=OneWay}">
<i:Interaction.Behaviors>
<behaviors:ExpandFiltersBehavior ParentBinding="{Binding}" />
</i:Interaction.Behaviors>
<telerik:RadTreeView.ItemTemplate>
<HierarchicalDataTemplate ItemsSource="{Binding SubFilters, Mode=OneWay}">
<StackPanel Orientation="Horizontal">
<CheckBox IsChecked="{Binding IsChecked, Mode=TwoWay}" />
<TextBlock VerticalAlignment="Center"
Margin="5,0,0,0"
Text="{Binding Title, Mode=OneWay}" />
</StackPanel>
</HierarchicalDataTemplate>
</telerik:RadTreeView.ItemTemplate>
</telerik:RadTreeView>
System.Windows.Data Error: 25 : Both 'ItemTemplate' and 'ItemTemplateSelector' are set; 'ItemTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'HeaderTemplate' and 'HeaderTemplateSelector' are set; 'HeaderTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'ItemTemplate' and 'ItemTemplateSelector' are set; 'ItemTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'HeaderTemplate' and 'HeaderTemplateSelector' are set; 'HeaderTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'ItemTemplate' and 'ItemTemplateSelector' are set; 'ItemTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'HeaderTemplate' and 'HeaderTemplateSelector' are set; 'HeaderTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'ItemTemplate' and 'ItemTemplateSelector' are set; 'ItemTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'HeaderTemplate' and 'HeaderTemplateSelector' are set; 'HeaderTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='8322828'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='System.Windows.Media.Animation.Storyboard'; TargetElement.HashCode='8322828'; TargetElement.Type='System.Windows.Media.Animation.Storyboard'
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='3060505'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='System.Windows.Media.Animation.Storyboard'; TargetElement.HashCode='3060505'; TargetElement.Type='System.Windows.Media.Animation.Storyboard'
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='27544548'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='System.Windows.Media.Animation.Storyboard'; TargetElement.HashCode='27544548'; TargetElement.Type='System.Windows.Media.Animation.Storyboard'
I'm not sure why or how to resolve them, can anyone explain how?
The XAML is defined as follows, we use a behaviour to expand the rows when first loaded.
<telerik:RadTreeView Margin="5"
controls3:StyleManager.Theme="Windows7"
IsExpandOnSingleClickEnabled="True"
SelectionMode="Single"
IsEditable="False"
IsRootLinesEnabled="True"
DisplayMemberPath="Title"
ItemsSource="{Binding Filters, Mode=OneWay}">
<i:Interaction.Behaviors>
<behaviors:ExpandFiltersBehavior ParentBinding="{Binding}" />
</i:Interaction.Behaviors>
<telerik:RadTreeView.ItemTemplate>
<HierarchicalDataTemplate ItemsSource="{Binding SubFilters, Mode=OneWay}">
<StackPanel Orientation="Horizontal">
<CheckBox IsChecked="{Binding IsChecked, Mode=TwoWay}" />
<TextBlock VerticalAlignment="Center"
Margin="5,0,0,0"
Text="{Binding Title, Mode=OneWay}" />
</StackPanel>
</HierarchicalDataTemplate>
</telerik:RadTreeView.ItemTemplate>
</telerik:RadTreeView>
System.Windows.Data Error: 25 : Both 'ItemTemplate' and 'ItemTemplateSelector' are set; 'ItemTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'HeaderTemplate' and 'HeaderTemplateSelector' are set; 'HeaderTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'ItemTemplate' and 'ItemTemplateSelector' are set; 'ItemTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'HeaderTemplate' and 'HeaderTemplateSelector' are set; 'HeaderTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'ItemTemplate' and 'ItemTemplateSelector' are set; 'ItemTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'HeaderTemplate' and 'HeaderTemplateSelector' are set; 'HeaderTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'ItemTemplate' and 'ItemTemplateSelector' are set; 'ItemTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Data Error: 25 : Both 'HeaderTemplate' and 'HeaderTemplateSelector' are set; 'HeaderTemplateSelector' will be ignored. RadTreeViewItem:'RadTreeViewItem' (Name='')
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='8322828'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='System.Windows.Media.Animation.Storyboard'; TargetElement.HashCode='8322828'; TargetElement.Type='System.Windows.Media.Animation.Storyboard'
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='3060505'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='System.Windows.Media.Animation.Storyboard'; TargetElement.HashCode='3060505'; TargetElement.Type='System.Windows.Media.Animation.Storyboard'
System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='27544548'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='System.Windows.Media.Animation.Storyboard'; TargetElement.HashCode='27544548'; TargetElement.Type='System.Windows.Media.Animation.Storyboard'