This is a migrated thread and some comments may be shown as answers.
Drag drop issue with custom shapes
1 Answer 54 Views
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 1
Phil asked on 22 Jun 2012, 06:23 AM
Hi,

I'm using custom shapes (TemplatedControl) which contain a RadListBox. Each RadListBoxItem contain a single TextBlock with the RadDragAndDropManager.AllowDrag = true. This is to allow a list box item to be drag'd from one shape and dropped onto another.

This works fine, but after the drop operation the source shape does not seem to have received the mouse up/drop event so when you left mouse down and drag anywhere within the diagram canvas, the source shape continues to be selected and moves even though the mouse pointer is not over the shape. Attempting to select other shapes on the diagram does not work, selection continues to be on the source shape. The only way to release this is to drag and move the source shape after which other shapes can then be selected.

With my limited knowledge I suspect when the source shape or the diagram is not receiving the mouseup/drop when the ListBoxItem is dropped onto another shape.

Any help on this would be greatly appreciated

Regards,
Phil.

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 26 Jun 2012, 11:50 AM
Hi,

I've posted a reply to your support thread requesting more info on the case.

Regards,
Hristo
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Asked by
Phil
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or