Click here to Skip to main content
15,911,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,
i want to know how to drag and drop multipleselected nodes from treeview to panel and drop text or filepath of nodes on panel.
i have done drag and drop of single node but i'm facing problem to implement it for multiple selected node.....
plz help me in it....thx in advance...........
Posted
Updated 12-Sep-11 2:13am
v2

1 solution

Hi, Since the native WinForms TreeView doesn't implement multiple selection, what TreeView are you using, or what work-around (there are some on CP) are you using to get around that limitation ?

For example, are you using CheckBoxes, which is one way to make a multiple selection in a native WinForm TreeView ?

Please make your question more specific:

1. when you start the drag from the TreeView: what do you expect the user to see as you drag ?

2. when you move over the drop-Target: what, if any, visual response do you expect the user to see by the drop-Target ?

3. when you make the "drop:" what information ... in what form ... exactly ... is put into/on the drop-target ?

Since you can't drop text (or a filepath) onto a Panel, what Control(s) inside the Panel are you dropping into: TextBoxes ?

Please share with us a code fragment from what you are doing now to try and drag-drop a TV multiple selection.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900