How to enable drag and drop from RadListBox to RadDocking controls.

Thread is closed for posting
1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 27 Sep 2012 Link to this post


    RadControls version Q2 2012 SP2
    .NET version 4.0
    Visual Studio version 2010
    programming language C#
    browser support

    all browsers supported by RadControls


    The built-in drag and drop behavior of RadDocking does not allow items to be dropped from outside the control.

    The provided project demonstrates how to enable the drag and drop functionality between outside controls (in this example RadListBox) and RadDocking control.

    The basic steps in the project are:

    1. Create a class that inherits RadDocking.
    2. Create a BeginDrag(), OnDropInfo() CancelDrag() methods with a custom logic for each method.
    3. Attach the AddDragInitializeHandler event to the outside control (the RadListBox).
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.