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

Questions on Migrating from Scheduler to ScheduleView

1 Answer 70 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Scott
Top achievements
Rank 1
Scott asked on 26 Aug 2012, 07:22 PM
Hello,

I'm updating some older code from Scheduler to ScheduleView. I've seen and read the posts asking about how to deal with the lack of the AppointmentEditing | AppointmentEditAction flag.

The comments revolve around inheriting from the ScheduleViewDragDropBehavior class to intercept the drag and resize events. That I understand. So dealing with drag and resize is handled.

But the AppointmentEditing event is still fired on a drop and I can't tell the difference between a drop and an attempt to edit.

I have looked at the these examples:


Do you have a non MVVM example of my issue?

Scott

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 29 Aug 2012, 01:10 PM
Hello Scott,

In order to make a difference between a drop operation and a double click action for editing the appointments, I can suggest you to hook to the ShowDialog event. It will fire when the EditAppointmentDialog is opened, i.e. when the appointment is double-clicked.

Hope this helps.

Regards,
Konstantina
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Scott
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or