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

Custom DnD between ListBox'es

1 Answer 59 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Miłosz Cechnicki
Top achievements
Rank 1
Miłosz Cechnicki asked on 13 May 2011, 01:28 PM
Hi,
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:
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

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

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

1 Answer, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 17 May 2011, 12:28 PM
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,
Tsvyatko
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
Tags
DragAndDrop
Asked by
Miłosz Cechnicki
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Share this question
or