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

Drop preview when dropping to listbox

1 Answer 58 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Nabil Shuhaiber
Top achievements
Rank 1
Nabil Shuhaiber asked on 21 Sep 2010, 11:42 PM
I am dragging from one listbox to another. Rather than display a dropcue I want to preview the amount of space to be taken up by the item if dropped. Basically I want to show the item in the list as if it was already dropped but apply an effect such as a mask to make it look clear the it is just a preview. Hope this explains it well. Any ideas how I can get this to work. I was thinking something along the lines of actually inserting the item with a style applied to it (to make it look different) and keep it there if a drop is initiated otherwise remove it when I drag away.

Thanks
Nabil

1 Answer, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 22 Sep 2010, 11:53 AM
Hi Nabil Shuhaiber,

I can suggest you using another element that is positioned over the current item while dragging. You can check these two projects for idea how to implement it.

Please, let me know if you have any other questions regarding this scenario.

Greetings,
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
Nabil Shuhaiber
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Share this question
or