Drag drop issue with custom shapes

2 posts, 0 answers
  1. Phil
    Phil avatar
    3 posts
    Member since:
    Apr 2012

    Posted 22 Jun 2012 Link to this post

    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.

  2. Hristo
    Admin
    Hristo avatar
    352 posts

    Posted 26 Jun 2012 Link to this post

    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 >>

  3. DevCraft banner
Back to Top