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

RadDiagramContainerShape RadDiagramToolbox Drop Issue

3 Answers 36 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Kent
Top achievements
Rank 1
Kent asked on 14 Feb 2014, 01:24 AM
I am using the the RadDiagramContainerShape. I notice that when you drop a RadDiagramShape
component from the RadDiagramToolbox onto a RadDiagramContainerShape that works fine if there is no other item in the RadDiagramContainerShape.  But if you happen to be dropping a RadDiagramShape into a RadDiagramContainerShape that already has an item in it.  You try dropping this new shape on top of the item already in the container it fails to put the new dropped shape into the container.  But instead puts it under the RadDiagramContainerShape.  Is there way to get it to put into the container not under it?  

3 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 18 Feb 2014, 05:18 PM
Hello Kent,

Could you provide us with a runnable project with your implementation. This will allow us to test it locally and find the reason behind the issue. In the meantime you could take a look at the attached project which demonstrates drag and drop between a RadDiagramToolbox and a RadDiagram in an MVVM scenario.

Regards,
Martin
Telerik
0
Kent
Top achievements
Rank 1
answered on 18 Feb 2014, 06:01 PM
I have a video showing this issue using the example you provided.  It is about 2 MB but I can't attach a video or zipped file with it in it to this reply.  Is there a way to send it to you another way?
0
Martin Ivanov
Telerik team
answered on 20 Feb 2014, 04:52 PM
Hello Kent,

We managed to reproduce the issue. However, this behavior is expected (e.g. in your shape you may have another control that handles the drop) and at this point we don't have plans to change it.

As a workaround you can use the DradDropManager and add drop handler with some custom logic as in the attached project.
  
Regards,
Martin
Telerik
Tags
Diagram
Asked by
Kent
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Kent
Top achievements
Rank 1
Share this question
or