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

Thread is closed for posting
1 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 27 Sep 2012 Link to this post

    Requirements

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

    all browsers supported by RadControls


    PROJECT DESCRIPTION

    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.