I have a treeView using an ItemTemplate
<
ScrollViewer
HorizontalScrollBarVisibility
=
"Auto"
VerticalScrollBarVisibility
=
"Auto"
BorderThickness
=
"0"
>
<
navi:RadTreeView
x:Name
=
"rdtreeCheckLists"
SelectedItem
=
"{Binding SelectedOrgCheckList, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
HorizontalContentAlignment
=
"Left"
ItemsSource
=
"{Binding CheckListWithItems, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
ItemTemplate
=
"{StaticResource CheckListTemplate}"
SelectionChanged
=
"rdtreeCheckLists_SelectionChanged"
SelectionMode
=
"Single"
IsDragDropEnabled
=
"True"
>
</
navi:RadTreeView
>
</
ScrollViewer
>
Item template is like this
<
telerik:HierarchicalDataTemplate
x:Key
=
"CheckListTemplate"
ItemsSource
=
"{Binding SubItems,Mode=TwoWay}"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Image
Source
=
"../Images/add_to_group.jpg"
Width
=
"15"
Height
=
"15"
></
Image
>
<
TextBox
Text
=
"{Binding Name,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
BorderThickness
=
"0"
BorderBrush
=
"Transparent"
IsReadOnly="{Binding RelativeSource={RelativeSource
Mode
=
FindAncestor
,
AncestorType
=
UserControl
},
Path
=
DataContext
.IsReadOnly,
Mode
=
TwoWay
,
UpdateSourceTrigger
=
PropertyChanged
}"/>
<
telerik:RadRibbonButton
SmallImage
=
"../Images/icon_delete_normal.png"
HorizontalAlignment
=
"Right"
Click
=
"CheckListDelete_Click"
IsEnabled
=
"True"
Width
=
"Auto"
Height
=
"17"
CommandParameter
=
"{Binding Id, Mode=TwoWay}"
CommandTarget
=
"{Binding Type, Mode=TwoWay}"
/>
</
StackPanel
>
</
telerik:HierarchicalDataTemplate
>
I have binded a HierarchicalDataModel "CheckListWithItems" which has SubItems property.
The problem is in DragDrop Items into tree view. When i drop item into tree view the latter version it doesn't show dropped item as child. Even when i add it in code it shows only most upper level items.
The problem is in Telerik.Windows.Control RuntimeVersion v4.0.30319 / Version 2014.3.1202.1050 this WORKS. but NOT in RuntimeVersion v4.0.30319 / Version 2015.3.1104.1050
I have the same code only with replaced dlls.
How to resolve this?
Thank you in advance