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

Move appointments behavoir

1 Answer 5 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
g g
Top achievements
Rank 1
g g asked on 18 Nov 2013, 09:36 AM
Hallo,
I need lock moving appointment between resources, but leave moving appointment inside its resource.
How can I do that?

Thanks

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 18 Nov 2013, 02:32 PM
Hi,

The desired behavior can be easily achieved through a custom ScheduleViewDragDropBehavior. You will need to override the CanDrop method inside of which you can compare the Resource of the dragged Appointment to the Resource of the DestinationSlot and if they are different to prevent the drop. I have prepared and attached a sample project which demonstrates the exact approach.

Hope this helps.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ScheduleView
Asked by
g g
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or