I'm trying to do a simple drag and drop to allow re-ordering of my treeview nodes.
But this does not seem to be allowing the drop. In DragEnded, Status is cancel.
Any ideas what I'm doing wrong???
<telerikNavigation:RadTreeView x:Name="MenuBarTreeView"
Margin="3,3,3,3" IsLineEnabled="False" SelectionMode="Single"
IsEditable="False" MinWidth="250"
IsDragDropEnabled="True" IsDragPreviewEnabled="True"
DragStarted="MenuBarTreeView_DragStarted"
DragEnded="MenuBarTreeView_DragEnded"
SelectedValuePath="menu_bar_id"
ItemsSource="{Binding Mode=OneWay,Path=Data,Source={StaticResource MenuBarDataSource}}" >
<telerikNavigation:RadTreeView.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock HorizontalAlignment="Left" Width="27" Text="{Binding menu_bar_id, Mode=OneWay}"
Foreground="{Binding inactive_date, Converter={StaticResource InactiveConverter}, Mode=OneWay}"
AllowDrop="True"/>
<TextBlock HorizontalAlignment="Left" Width="270" Text="{Binding client_menu_bar_name, Mode=OneWay}"
Foreground="{Binding inactive_date, Converter={StaticResource InactiveConverter}, Mode=OneWay}"/>
</StackPanel>
</DataTemplate>
</telerikNavigation:RadTreeView.ItemTemplate>
</telerikNavigation:RadTreeView>