This question is locked. New answers and comments are not allowed.
Hi
1)
I want to check, if a user can Drag&Drop an appointment to a new date.
For that I catch in OnAppointmentEditingCommand the AppointmentEditedEventArgs
and set the e.Cancel=true, if it's not allowed.
To validate the changes, I need the orginal and changed data - but the changed data are missing!
Where can I find in the AppointmentEditedEventArgs the changed data?
2)
We display in the scheduler different calendars (resources). It's not allowed to drag&drop an appointment to another calendar.
Need for that the changed resources collection in AppointmentEditedEventArgs or what to do?
3)
Other way to check the values is in the OnAppointmentEditedCommand.
Then I have to remember the orginal state before and compare that with the values in AppointmentEditedEventArgs.
But To cancel the changes, it's not possible to use e.Handled = false;
What's the idea of the e.Handled?
Thanks for help.
Björn.
1)
I want to check, if a user can Drag&Drop an appointment to a new date.
For that I catch in OnAppointmentEditingCommand the AppointmentEditedEventArgs
and set the e.Cancel=true, if it's not allowed.
To validate the changes, I need the orginal and changed data - but the changed data are missing!
Where can I find in the AppointmentEditedEventArgs the changed data?
2)
We display in the scheduler different calendars (resources). It's not allowed to drag&drop an appointment to another calendar.
Need for that the changed resources collection in AppointmentEditedEventArgs or what to do?
3)
Other way to check the values is in the OnAppointmentEditedCommand.
Then I have to remember the orginal state before and compare that with the values in AppointmentEditedEventArgs.
But To cancel the changes, it's not possible to use e.Handled = false;
What's the idea of the e.Handled?
Thanks for help.
Björn.