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

Drag & Drop between two ListBoxes... DropInfo

1 Answer 49 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 15 May 2012, 12:57 PM
HI,

i'm using RadControls for WPF Q1 2012 SP1 + c# to create my application. The problem i have:

I use two listboxes wich are bind to an observableCollection. Now i want to drag an item from listbox A to listbox B
what is quiet simple. But on Drop in listbox B i want to save changes in my database. how do i get the information
isdropped, which item is dropped,...?

I tried the Drop (drop="myDropEvent") Event from the listbox, but that was not helpfull.

Thanks
regards
Rene

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 17 May 2012, 02:37 PM
Hi Rene,

You can do that in the Drop event of the control you are dropping upon. For the event to fire however, the drop control must have AllowDrop set to true on it.

Hope this helps! 

Regards,
Nik
the Telerik team

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

Tags
DragAndDrop
Asked by
ITA
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or