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

Parent Recurrence Id bug

1 Answer 119 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
towpse
Top achievements
Rank 2
towpse asked on 05 Jan 2010, 07:05 PM
Hey there

There is a bug that seems to affect deleting appointments
When I bind teletik appointment objects to the scheduler, I use Guids for both the ID and Parent Recurrence Id (when appropriate) Properties.

In the delete appointment method when I am deleting an exception occurrence that has a parent recurrence Id, as it stands I need to do this in order for the web service appointment framework to successfully locate the parent appointment:

            if (appointmentData.RecurrenceParentID != null) 
            { 
                appointmentData.RecurrenceParentID = new Guid?(new Guid(appointmentData.RecurrenceParentID.ToString())); 
            } 

Otherwise the parent Id is a string and a match is not found and an error thrown.
The ID property, which I bind as a Guid, comes back as a Guid as expected in the AppointmentData object.

Also as a side note, when does the RemoveRecurrenceExceptions get called in my web service?
What do I have to do to Remove a Recurrence Exception?
I just made the code to create  recurrence exceptions but when I delete that appointment it just deletes it as a normal appointment which is fine. I just need to make sure I have the case when I remove recurrence exceptions handled as well.


Regards.

1 Answer, 1 is accepted

Sort by
0
Dimitar Milushev
Telerik team
answered on 08 Jan 2010, 03:12 PM
Hi,

I've logged the problem into our system and we'll investigate it and hopefully fix it soon.

RemoveRecurrenceExceptions should be called when you reset the exceptions of a given series. Please refer to the attached screenshot.

All the best,
Dimitar Milushev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Scheduler
Asked by
towpse
Top achievements
Rank 2
Answers by
Dimitar Milushev
Telerik team
Share this question
or