HI,
I'm new to WPF and the Telerik Controls, Can anybody help me with very simple sample to do the drag and Drop to RadTreeView.
I only need the OnDragQuery() code.
If Me.RadGridView2 IsNot Nothing Then
Dim selectedItems As IList = Me.RadGridView2.SelectedItem
e.QueryResult = selectedItems.Count > 0
e.Options.Payload = selectedItems
End If
e.QueryResult = True
e.Handled = True
I used the above code to do so, but i'm not getting the actual data to tree view rather the name of the class of which the content of Gridview is made.
I need a small example with static data .
regards,
Swaroop
I'm new to WPF and the Telerik Controls, Can anybody help me with very simple sample to do the drag and Drop to RadTreeView.
I only need the OnDragQuery() code.
If Me.RadGridView2 IsNot Nothing Then
Dim selectedItems As IList = Me.RadGridView2.SelectedItem
e.QueryResult = selectedItems.Count > 0
e.Options.Payload = selectedItems
End If
e.QueryResult = True
e.Handled = True
I used the above code to do so, but i'm not getting the actual data to tree view rather the name of the class of which the content of Gridview is made.
I need a small example with static data .
regards,
Swaroop