Hi i need help on drag drop.
My scenario is i have listview with different type of files like TXT, doc, img etc.
I need to implement drag and drop functionality on my listview. Like user can drag item from listview and he can drop it either in windows explorer or treeview control on the application.
When the item is dropped to windows explorer then that file should be downloaded. If user drop that file to treeview then that file is moved to the selected node of the treeview.
My problem is, in item drag event when the user tries to drop the file on treeview then data should se sent as listview item in DoDragDrop method, and when user drops to the explorer then i am creating file in temp folder and then sending the path to DoDragDrop Method.
So how can i do this task alternatively.