when i Appointment drag drop, fire on rsvScheduler_AppointmentEditing event
and Appointment double click, fire on rsvScheduler_AppointmentEditing event
how can i do diff action catch?
2 Answers, 1 is accepted
0
Accepted
Rosi
Telerik team
answered on 25 Apr 2011, 10:58 AM
Hello Park,
There is no way to detect what causes the AppointmentEditing event. If you need to execute diferent logic on drag drop and on double click I suggest you implement a custom DragDropBehavior for the drag and drop operation. For double click - you can implement your logic on ShowDialog event. More information about this event you can read below:
ShowDialog - occurs when a scheduleView dialog is about to be shown. The ShowDialog event handler receives two arguments:
The sender argument contains the RadScheduleView. This argument is of type object, but can be cast to the RadScheduleView type.
An ShowDialogEventArgs object. Via the ShowDialogEventArgs you can access the following properties:
DialogViewModel - gets the scheduler dialog. The property can be cast to the following types:
AppointmentDialogViewModel
RecurrenceChoiceDialogViewModel
RecurrenceDialogViewModel
ConfirmDialogViewModel
Cancel - set this boolean property to True, when you want to cancel the event.
Hope this helps.
Regards,
Rosi
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items