Drag & Drop from RadTreeview to RadScheduleView

3 posts, 0 answers
  1. Christian
    Christian avatar
    4 posts
    Member since:
    May 2011

    Posted 04 Nov 2011 Link to this post

    Hi All,
    maybe I haven't unserstood the concept behind Drag & Drop for the RadScheduleView (I am just migrating a project from RadScheduler to the new RadScheduleView), but I am not able to perform a drop operation.
    My scenario is the following:
    Drag an Item from a RadTreeView to an RadScheduleView.
    The drag operation starts but once I moved the item over the ScheduleView I alwyas see the DragNotPossible Icon in the cue and neither the events for the RadDragDropManager nor the events in the custom ScheduleViewDragDropBehavior (implemented an override to all methods showing to the base) are raised.

    Does anyone have a sample for me or a hint where I might think to complicated (or not far enough)?

    Thanks,
    Chris
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 07 Nov 2011 Link to this post

    Hi Chris,

    Please find attached a sample application that demonstrates how to create drag-drop functionality for RadTreeView. Note that you should use the latest internal build from this week.

    The TreeView folder contains the drag-drop framework, in most of the scenarios it doesn't have to be changed and you could include it in your project as it is in the sample.

    Hope this helps. If you have any additional questions or issues, contact us again.

    Best wishes,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Christian
    Christian avatar
    4 posts
    Member since:
    May 2011

    Posted 07 Nov 2011 Link to this post

    Hi Yana,
    thanks for the example which helped me understanding that I first have to convert my objects to an IOccurende and then all the other Behaviour Events will be raised (in opposite to the RadScheduler we used before where we had to convert the objects in the e.g. DropInfo Methode).

    Thanks,
    Chris
Back to Top