Drag and Drop between to databound types

2 posts, 0 answers
  1. Aleksandar
    Aleksandar avatar
    11 posts
    Member since:
    Nov 2012

    Posted 09 Jul 2013 Link to this post

    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?
  2. Nick
    Admin
    Nick avatar
    593 posts

    Posted 11 Jul 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top