I have my own DragDropBehavior and I would like to know in the DragCompleted over which special slots tghe appointment as been released.
Thank's
Alain
3 Answers, 1 is accepted
0
Kalin
Telerik team
answered on 01 Jul 2014, 12:12 PM
Hello Alain,
The only solution we can suggest is the one explained in this post. Did you manage to test it and if so could you please share what issues you have faced?
I'm looking forward to hearing from you.
Regards,
Kalin
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
in the DragCompleted, "state.DestinationSlots" is empty... Is this normal?!?
Thank's
Alain
0
Kalin
Telerik team
answered on 03 Jul 2014, 12:12 PM
Hello Alain,
This is intended by design - in the DragDropCompleted method the DraggedAppointments are already updated and they have the times of the DestinationSlots (that is why the collection is empty - they are not needed anymore). So what I can suggest you would be to use the Start and End time of the Appointments in the DraggedAppointments collection in the DragDropCompleted method or to save the DestinationSlots collection in variable in the Drop method and use it afterwards in DragDropCompleted.
Hope this helps.
Regards,
Kalin
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.