I am having an issue regarding recurring appointments. I can create a series, and it displays recurring appointments fine. However, when I attempt to edit an occurrence, that occurrence remains active and another is created with the new information. How do you configure the new occurrence so that the initial series will ignore the one you are attempting to replace?
6 Answers, 1 is accepted
Editing an occurrence is a two step process. First, the "master" appointment's recurrence rule is updated to skip generating an occurrence for the specified date. Then a new appointment is inserted to hold the new data. It seems that in your case the recurrence rule is not getting updated. Please make sure that you have set up your data source correctly and the Update command updates the RecurrenceRule field.
You can read more about recurring events here:
http://www.telerik.com/help/aspnet-ajax/schedule_serversideworkingwithrecurringappointments.html
All the best,
Tsvetomir Tsonev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thank you for your response. Yesterday, I altered the stucture of my desired approach to a more basic one, and viewed the records generated in the database. After reviewing changes made to master records, I did discover that the recurrence rule was appended with an "EXDATE" field. In the future, it would be helpful to include a reference regarding this as none of the included documentation covers anything similar. Again, thank you for your response.
I am having the exact same problem. I have verified that the "master's" recurrence rule is being updated properly with the "EXDATE". The new (exception) appointment is also being created/inserted successfully. But for some reason, I still am having the problem.
Please help.
Thanks,
Annie
Can you please post the concrete data for the master and the exception? We need start/end dates and the recurrence rule before and after the update to diagnose the problem. Thank you.
Best wishes,
Tsvetomir Tsonev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Below is the detailed steps on how I was able to recreate the issue:
1.) Create a daily reoccurring event with the following details:
--> From : 8/25/2008 9AM
--> To : 8/25/2008 5PM
--> Check the "Recurring appointment" box
--> In the "Recurrence" section, select the "Daily" option and the "Every 1 day(s)" option
--> In the"Range of recurrence" section, type in "5" in the "End after: xxxx occurrences" section. (Basically, the event will end after 5 occurrences)
2.) Once created, the event shows up in the Calendar. It occurs from 8/25 to
8/29 (which is correct).
Below is the info from the database:
ID = 44275
StartDTm = 2008-08-25 16:00:00.000
EndDTm = 2008-08-26 00:00:00.000
RecurrencePattern = DTSTART:20080825T090000Z DTEND:20080825T170000Z RRULE:FREQ=DAILY;COUNT=5;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU
RecurringParentID = NULL
3.) Edit one occurrence of the event. I selected Friday 8/29 occurrence. Edited the Start and End Time. Start Day/Time's new value = 8/29/2008 10:00AM. End Day/Time's new value = 8/29/2008 4:00PM.
4.) After successful editing (to create an event "Exception"), below is the information from the database:
The original or "Master" record's information:
ID = 44275
StartDTm = 2008-08-25 16:00:00.000
EndDTm = 2008-08-26 00:00:00.000
RecurrencePattern = DTSTART:20080825T090000Z DTEND:20080825T170000Z RRULE:FREQ=DAILY;COUNT=5;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU EXDATE:20080829T090000Z
RecurringParentID = NULL
The "Exception" record's information:
ID = 44281
StartDTm = 2008-08-29 17:00:00.000
EndDTm = 2008-08-29 23:00:00.000
RecurringPattern = <row is Empty>
RecurringParentID = 44275
5.) Edit the entire series of the reccurring event. Changed the Start time to 9:30AM and the End Time to 4:00PM.
6.) After successful editing, from the Calendar, there are two events created for 8/29. One is the "Exception" and other one is from the series of the reoccurring event. Below is the information from the database:
The original or "Master" record's information:
ID = 44275
StartDTm = 2008-08-25 16:30:00.000
EndDTm = 2008-08-25 23:00:00.000
RecurrencePattern = DTSTART:20080825T093000Z DTEND:20080825T160000Z RRULE:FREQ=DAILY;COUNT=5;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU EXDATE:20080829T090000Z
RecurringParentID = NULL
The "Exception" record's information:
ID = 44281
StartDTm = 2008-08-29 17:00:00.000
EndDTm = 2008-08-29 23:00:00.000
RecurringPattern = <row is Empty>
RecurringParentID = 44275
Thanks so much and appreciate your time in helping us trying to solve this issue.
Thank you for your very detailed and clear instructions. I followed them closely, but the problem didn't appear in my test project (attached for reference). I tested with version 2008.2 723 and 2008.2 724, but in both cases there wasn't a problem. Please, examine the attached sample and let us know if I am missing something.
Kind regards,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.