Example code

2 posts, 0 answers
  1. Jonathan Miller
    Jonathan Miller avatar
    57 posts
    Member since:
    Jun 2008

    Posted 05 Dec 2008 Link to this post

    Hello.  Can you provide sample XAML and .CS of drag and drop basics using a listview as the source and the radtreeview as the target?

    The sample code in the demo references a parent "Example.DraggableListBox"

    I am looking for assistance with non "Example.DraggableListBox" - regular usable controls and the events to handle them in code-behind.  Thank you
  2. Miroslav
    Miroslav avatar
    922 posts

    Posted 09 Dec 2008 Link to this post

    Hello Jonathan,

    The events that need to be handled are the same for all controls, just as the attached properties that need to be set.

    I have created an example with RadDatagrid as a source and RadTreeView as a destination, available here (the example with a list will be very similar).


    Also there you can find a draft version of the help for Drag and Drop:


    A slightly more advanced example is drag & drop between TreeViews:


    Hopefully I will be able to create more examples soon. Come back to us if you need help or guidance for the examples or your particular scenario.

    Kind regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
Back to Top