This is a migrated thread and some comments may be shown as answers.

Drag & Drop from RadTreeview to RadScheduleView

2 Answers 70 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 04 Nov 2011, 01:35 PM
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 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 07 Nov 2011, 03:43 PM
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 >>

0
Christian
Top achievements
Rank 1
answered on 07 Nov 2011, 06:14 PM
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
Tags
ScheduleView
Asked by
Christian
Top achievements
Rank 1
Answers by
Yana
Telerik team
Christian
Top achievements
Rank 1
Share this question
or