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

Drag and Drop between to databound types

1 Answer 29 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Aleksandar
Top achievements
Rank 1
Iron
Aleksandar asked on 09 Jul 2013, 05:46 PM
I have two databound controls bound to two different data types:
1. A ListBox bound to a collection of Employees
2. A RadGridView bound to a collection of Jobs

I'd like to drag an employee from the ListBox onto a Job in the RadGridView and then perform an AssignJobToEmployee command. I've created custom DragDropBehaviors and did an override on the Drop method. However, state.DraggedItems is always null.

Is there any way to drag and drop between two different databound types and fire a command?

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 11 Jul 2013, 12:42 PM
Hello Aleksandar,

We will need a bit more information about your case. What are the behaviors you have created? A sample code would be of great help! How are you firing the command? Are you using any 3rd party libraries? 

Hope to hear from you soon! 

Regards,
Nik
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
DragAndDrop
Asked by
Aleksandar
Top achievements
Rank 1
Iron
Answers by
Nick
Telerik team
Share this question
or