I have defined a DataItemTempate for my RadTreeItem in the following manner:
I pass the EditTreeViewTemplate into the ItemEditTemplate property of the RadTreeView. Both bindings work because a simple format used in my HierarchicalDataTemplate works without a problem. The UserControl hosts a Icon created in Blend and represented in XAML form.
If I remove the UserControl, the edit works without a problem. Keep it in there, IE crashes with a ManagedRunTimeError 4004
Thoughts on getting this to work.
![]()
<DataTemplate x:Key=
"EditTreeViewTemplate"
>
<StackPanel Orientation=
"Horizontal"
>
<UserControl Content=
"{Binding IconControl}"
/>
<TextBox Text=
"{Binding Rename, Mode=TwoWay}"
Margin=
"5"
/>
</StackPanel>
</DataTemplate>
I pass the EditTreeViewTemplate into the ItemEditTemplate property of the RadTreeView. Both bindings work because a simple format used in my HierarchicalDataTemplate works without a problem. The UserControl hosts a Icon created in Blend and represented in XAML form.
If I remove the UserControl, the edit works without a problem. Keep it in there, IE crashes with a ManagedRunTimeError 4004
Thoughts on getting this to work.