Hello,
I need to bind the SelectedItem of the TreeView. I've read in other posts, that this is impossible. (why?) You've suggested to Bind the IsSelected-Property of the TreeViewItems. And thats exactly the way I do it in WPF. But when I try to bind a Property in a Silverlight-Style, I get a XamlParseException: "AG_E_RUNTIME_MANAGED_UNKNOWN_ERROR".
I've did it the way you descriped in an other post:
<telerik:RadTreeView.ItemContainerStyle>
<Style TargetType="telerik:RadTreeViewItem">
<Setter Property="IsSelected" Value="{Binding Path=Select, Mode=TwoWay}" />
</Style >
</telerik:RadTreeView.ItemContainerStyle>
Where is my mistake?
I need to bind the SelectedItem of the TreeView. I've read in other posts, that this is impossible. (why?) You've suggested to Bind the IsSelected-Property of the TreeViewItems. And thats exactly the way I do it in WPF. But when I try to bind a Property in a Silverlight-Style, I get a XamlParseException: "AG_E_RUNTIME_MANAGED_UNKNOWN_ERROR".
I've did it the way you descriped in an other post:
<telerik:RadTreeView.ItemContainerStyle>
<Style TargetType="telerik:RadTreeViewItem">
<Setter Property="IsSelected" Value="{Binding Path=Select, Mode=TwoWay}" />
</Style >
</telerik:RadTreeView.ItemContainerStyle>
Where is my mistake?