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

Drag Completed schenario

3 Answers 39 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Christie Admin
Top achievements
Rank 1
Christie Admin asked on 30 Jun 2014, 03:30 AM
Hi,

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

Sort by
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.
 
0
Christie Admin
Top achievements
Rank 1
answered on 01 Jul 2014, 06:22 PM
Hi Kalin,

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.
 
Tags
ScheduleView
Asked by
Christie Admin
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Christie Admin
Top achievements
Rank 1
Share this question
or