I have a situation where I drag from a RadListBox to a RadTreeView. It is quite similar to this Telerik example.
When a RadListBoxItem is dropped, it fires the OnClientDropping event. The event argument has a get_sourceItem() method where I can access the RadListBoxItem and its attributes. The event argument also has a get_destinationItem() method, but it is coming up null. I'm guessing this is because the destination item is a RadTreeNode and not a RadListBoxItem.
I need to compare a custom attribute in the source and destination items before I allow the drop to occur. How can I get a reference to the destination RadTreeNode and check its custom attributes inside the OnClientDropping event handler?
Thanks!
When a RadListBoxItem is dropped, it fires the OnClientDropping event. The event argument has a get_sourceItem() method where I can access the RadListBoxItem and its attributes. The event argument also has a get_destinationItem() method, but it is coming up null. I'm guessing this is because the destination item is a RadTreeNode and not a RadListBoxItem.
I need to compare a custom attribute in the source and destination items before I allow the drop to occur. How can I get a reference to the destination RadTreeNode and check its custom attributes inside the OnClientDropping event handler?
Thanks!