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

Drag and Drop for ScheduleView

3 Answers 108 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
XamlmaX2
Top achievements
Rank 1
XamlmaX2 asked on 16 Feb 2011, 12:50 PM
Is it possible to drag an item on to the ScheduleView that is not an Appointment?

Using the RadScheduler I was able to drag items of any type on to the scheduler and then convert them into Appointments when the DragStatus = DragStatus.Complete.

If I try this on the ScheduleView I get a NullRef exception unless in the OnDragQuery handler I set the payload to be a SchedulerDragDropPayload.

Is there a way to achieve this without making all my objects inherit from Appointment?

Thanks

3 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 21 Feb 2011, 03:28 PM
Hello,

I suggest you review our online example. Even that the example illustrates  how to implement the task with RadScheduleView for WPF the same way is applicable for Silverlight too.

All the best,
Rosi
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Davit
Top achievements
Rank 1
answered on 11 Mar 2011, 05:46 PM
XamlmaX, I am experiencing the same issue as you described.  The drag and drop example was not much help, because it seems to be dragging around Appointment items, which is what I would like to avoid.

Were you able to find a solution to this?  Is this going to be fixed in the release next week?
0
Rosi
Telerik team
answered on 14 Mar 2011, 08:48 AM
Hi Davit,

This issue is already fixed and the fix will be included in our next major release by the end of the Month.

Greetings,
Rosi
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
ScheduleView
Asked by
XamlmaX2
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Davit
Top achievements
Rank 1
Share this question
or