When dragging a specific occurrence of a recurring event to a new date on the scheduler the RecurrenceExceptionCreated event is fired.
In the RecurrenceExceptionCreatedEventArgs I have access to 2 different appointment objects:
e.Appointment gives me access to the master appointment. The start/end dates for this object are the original recurrence values.
e.ExceptionAppointment gives me access to the "new" exception appointment. The start/end dates for this object are the new exception dates.
How do I gain access to the start/end date of the actual occurrence that is being dragged? So if a recurrence started on Monday and went to Friday and recurred every day and I dragged Wednesday to the next week, how do I know which date Wednesday was?
I can see it in the updated RecurrenceRule for e.Appointment but parsing that out would be a really ugly solution.
Also you have the following enumerator value:
RecurrenceState.Occurence
Please refer to: http://en.wiktionary.org/wiki/occurence
In the RecurrenceExceptionCreatedEventArgs I have access to 2 different appointment objects:
e.Appointment gives me access to the master appointment. The start/end dates for this object are the original recurrence values.
e.ExceptionAppointment gives me access to the "new" exception appointment. The start/end dates for this object are the new exception dates.
How do I gain access to the start/end date of the actual occurrence that is being dragged? So if a recurrence started on Monday and went to Friday and recurred every day and I dragged Wednesday to the next week, how do I know which date Wednesday was?
I can see it in the updated RecurrenceRule for e.Appointment but parsing that out would be a really ugly solution.
Also you have the following enumerator value:
RecurrenceState.Occurence
Please refer to: http://en.wiktionary.org/wiki/occurence
Noun
occurence
- Common misspelling of occurrence