Hi,
I want to make changes or delete an occurance from a recurring appointment.
Lets say I have created a recurring appointment with no end for all Week Days with it starting Date 29th Jan 2009.
If i want to delete its occurance on 30th of January 2009 , how will i do that??.
Note: I have a reference to the Selected Appointment.
Thanks and Regrds,
Rehan
You can use the UltraCalendarInfo.GetAppointmentsInRange method to get a subset of the appointments that intersect with a given date range, then iterate that subset and check the value of the RecurringAppointmentRoot property to determine whether it is a member of a recurrence; if the RecurringAppointmentRoot property is non-null, it returns the root appointment for the recurrence. nce you have a reference to the appointment you want, set its IsRemoved property to true.
Hi Brian
I am writing the following code to intercept the Recurring appointments.
Appointment
appDelete = appointmentMainView.CalendarInfo.SelectedAppointments[0];AppointmentRecurrence recurrence; if (appDelete.RecurringAppointmentRoot != null){RecurrenceEditTypeDialogType dialogType = RecurrenceEditTypeDialogType.Delete;RecurrenceEditTypeDialog dialog = new RecurrenceEditTypeDialog(appDelete, dialogType);dialog.ShowDialog(this);
After this how should I remove one recurrence or the series and update my database.If you have code snipped that will be of great help.
RegardsPradeep