Hi
I just started to use the Drag and Drop feature and I have some problems.
I found how to accept drop from Outlook and/or Windows Explorer into a TreeView (see DirectoryTreeView1in my sample) but ...
-the treeview does not accept drops from any other control (like other treeviews on the same form)
-the treeview does not accept to move a node within itself!
I need a regular TreeView (like the TreeView2 instance in my sample) but that also accept drops from Outlook and/or Windows Explorer.
iret
April 22, 2008, 8:55am
2
Thanks for your post.
We are looking the code and debugging. I will keep you posted.
Best regards
iret
April 24, 2008, 11:50am
3
Hello,
We are still working on this bug. Not much progress by now. :(
I will try the best to fix it before next week.
Thanks for your pacience.
iret
April 28, 2008, 8:49am
4
Hello,
Could you try to use this hotfix?
Let me know if it works,
Best regards,
So far, it seems to be working, I will do other tests later today (and maybe tomorrow).
I have seen that you have sent a debugging version (includes the .pdb file). Will it be possible for you to make a "release" build?
iret
April 28, 2008, 10:15pm
6
Hello,
That is a release build but with pdb for helping debug. Anyway, We will release an official build shortly. I will keep you posted.
Best regards.
It seems that I have answered a bit too fast.
Apparently your patch work for a regular System.Windows.Forms.TreeView but we are using a Infragistics.Win.UltraWinTree.UltraTree and it doesn't work.
Can you help me on this?
After some other test, the DragDrop event is working correctly but not the DragOver and neither the DragEnter in which e.Data is nothing!
iret
May 1, 2008, 10:47pm
9
Hello,
Thanks for your post.
1. Could you please provide me the code how you use our component and the infragristics'? I will try to repro and debug into it.
2. I will check the dragover event and dragenter shortly.
Best regards,
The DLLs of Infragistics are in the bin\debug folder.
About the DragOver in the Infragistics treeview (bottom-right treeview control):
OK = When dropping a tree node from another treeview (from the leftmost one for example)
OK = When dropping a email message from Outlook
NOT OK = When dropping a file from Windows Explorer in which case e.data is nothing
iret
May 7, 2008, 12:42pm
11
Hello,
We are still working on this issue. I will get back to you as soon as I can.
Thanks for your patience.
iret
May 12, 2008, 9:39am
13
Hello,
We have done many investigation, but no luck. It looks like we cannot get the data on DragOver event. Only the DragEnter and DragDrop can get the data as you said.
I suggest you use the DragEnter to get the data and then use it in DragOver it you do need it.
Thanks,
but e.data was Nothing even in DragEnter!
iret
May 12, 2008, 10:40am
15
Please try the attachment. Let me know if it works.