Custom DnD between ListBox'es

2 posts, 0 answers
  1. Miłosz Cechnicki
    Miłosz Cechnicki avatar
    34 posts
    Member since:
    Sep 2009

    Posted 13 May 2011 Link to this post

    in our application we are using TreeViewDragCue as a drag'n'drop indicator during dnd operations between two ListBox'em.
    The object is being created in a DragQuery event in the if caluse ensuring, that we are at DragQuery status.

    As long as we were using quite old 2010.2.714.1040 version of Telerik controls everything was working as expected.

    Recently we decided to move to the newest versions (it's not that easy, as there many applications working together and having common dll's with styles and templates).

    The first problem we notice is quite different behavior of the DragAndDrop.
    The TreeViewDragCue created during drag'n'drop operation does not contain the icon, that indicates, whether the drop operation is possible. What's more, it does not contain even any kind of background, dragged content is displayed without any background.

    Furthermore - the RadDradAndDropManager seems to be not visible under namespace imported in that way:

    We encounter both problems on version:
    2011.1.0510 (internal build)

    After further investigation:
    1. The problem starts with verstion 2010.4.422. In version 2011.1.315 - the drag cue is generated correctly.

    2. But there is one more very strange problem:
    Starting with version 2010.3.110 (the latest version working correctly is 2010.2.294) we have a problem with drag and drop operation.
    With this version our control stops retrieving dropQuery events and what's much more strange - the drag indicator is moving only within restricted area (about 200 pixels vertically and 400 horizontally) from the top left corner of the application, regardless the size of the application...
    We are working on an simply application that replicates that problem, so that we can send it to You, but for now we can only provide that description...

    Thank You for Your help in advance

    Best regards
  2. Tsvyatko
    Tsvyatko avatar
    863 posts

    Posted 17 May 2011 Link to this post

    Hello Miłosz Cechnicki,

    While we are unable to  identify the exact cause of the problem without sample application we can speculate about the cause of this problem. Would it be possible to check whether using our Q1 2011 SP1 release resolves the issue. Also, if treelist dragcue has redefined template, could you try removing it and check whether this helps.

    Best wishes,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top