Cannot make the drag and drop work

3 posts, 0 answers
  1. Olga
    Olga avatar
    14 posts
    Member since:
    Mar 2011

    Posted 24 Mar 2011 Link to this post

    What am I doing wrong?

    I have a TreeListView that has an item source equal to
    IObservable<TreeNode> Items   (which is a hierarchical structure that I populate from the data in the DB using RIA services)

    I also set DragAndDrop = true in the xaml.

    I tried also having

    PreviewDragEnded

    set to an event handler and doing the add TreeNode to one parent and remove from another, but that didn't work.

    What do I need to do to have DragAndDrop working?


    i would attach a zipped file with the solution, but i dont see a way to do it

    Thanks,
    Olga
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1128 posts

    Posted 29 Mar 2011 Link to this post

    Hi Olga,

    I have prepared an example project for you that represent drag&drop within a TreeListView. Please, refer to it and inform us if this approach meets your requirements. 

    Best wishes,
    Ivan Ivanov
    the Telerik team
  3. DevCraft banner
  4. Olga
    Olga avatar
    14 posts
    Member since:
    Mar 2011

    Posted 29 Mar 2011 Link to this post

    Great! it worked. thanks alot!
Back to Top