Hi Gyus,
we have the following scenario:
UI with a RadListBox and a RadScheduleView
The ListBox contains custom business objects
We want to drag and drop these business objects to the ScheduleView.
So we need the following:
A custom DragSourceBehaviour for the RadListBox (checked and works)
A custom DragDropBehaviour for the ScheduleView (checked and works)
So far so good...
But now the problems starts:
We need a custom appointment that implements the only interface IAppointment.
We don't need any further appointment interface like IExtendedAppointment or IObjectGenerator.
But we can't inherit from the Appointment base class, because we already inherit from our own base class.
If we implement the IAppointment interface, the drop on the schedule view doesn't work!
And unfortunately we don't understand why. And believe me, we have tried many variants.
We know all your samples from the sdk and from the forum (for example: WithDB and the example from 2012)
But all these examples don't just implement the IAppointment interface.
And when is the Drop operation completed?
If you drag and drop only inside the ScheduleView there is as DragAndDropCompleted event.
But, if you drop from another control, there is no completed event!
We have to write the changed data directly into the database. So we need to know when the drop processes are completed.
Can you please tell me the two drag and drop lifecycles (internal drag and drop as well as drop from another control)?
Thank you very much.