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

Deleting Recurring Appoitments

3 Answers 85 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 14 Jul 2008, 03:06 PM
When you delete a recurring appointments, a dialog box pops up asking whether to delete the series or just the individual occurrence.  How do grab which was specified?

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 14 Jul 2008, 03:34 PM
Hi Josh,

The OnClientRecurrenceActionDialogClosed event will allow you to find which choice was specified.

Regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Josh
Top achievements
Rank 1
answered on 17 Jul 2008, 04:01 PM
Ok,I have another question now.  In the RadScheduler1_AppointmentDelete method, I can get a handle to the appointment using the the argument e.Appointment. When trying to delete one of the recurring events though, I don't know how to get the date of that specific event, which I need to create an exception to the recurrence rule.  e.Appointment.Start is the date that the parent starts.  Any suggestions?
0
Yana
Telerik team
answered on 18 Jul 2008, 03:09 PM
Hi Josh,

If AppointmentDelete event is fired for a recurring event, the whole series of appointments will be deleted. When deleting one occurrence, RecurrenceExceptionCreated event is fired and in its handler you can get the date.
Then AppointmentUpdate event occurs and the exception will be added to the RecurrenceRule, so you don't need to update it.
 
If I am missing something, please, send us a more detailed explanation of what you're trying to achieve.

Regards,
Yana
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Scheduler
Asked by
Josh
Top achievements
Rank 1
Answers by
Peter
Telerik team
Josh
Top achievements
Rank 1
Yana
Telerik team
Share this question
or