This is a migrated thread and some comments may be shown as answers.

Find drag source on DragAndDrop

1 Answer 56 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Deepika
Top achievements
Rank 1
Deepika asked on 20 Mar 2015, 08:11 AM
Our application involves the DragAndDrop of items from a Grid (inside a RadOutlookBar) into a RadTreeView. DragAndDrop is also allowed within the RadTreeView. However a certain set of code is executed only when the item is dragged from the Grid and not within the RadTreeView and the only way we can figure out when to execute said code is to find out where the drag is performed from (drag source). Such is the code structure and can't be tweaked much. I was wondering if there was a way to figure the drag source. 
TIA,
Deepika

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 24 Mar 2015, 06:45 AM
Hi Deepika,

I am not sure about your scenario and what exactly you try to achieve with the mentioned structure. Basically, the drag and drop operations are executed over ItemsControls. I am not sure what you need to drag from a panel as the Grid. Could you please elaborate more on your scenario and clarify your requirements?

If I better understand your scenario I would be able to suggest an appropriate approach for you.

Regards,
Pavel R. Pavlov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
DragAndDrop
Asked by
Deepika
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or