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

Edit single Recurrence Error

6 Answers 37 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Kuldeep
Top achievements
Rank 1
Kuldeep asked on 30 Dec 2013, 01:02 PM

Hi ,

I am using Radscheduler with Wcf.
I am using Javascript to communicate with Wcf.

When i edit single recurrence in Radscheduler and call below function from javascript --
scheduler.deleteAppointment(appointment, false);
scheduler.insertAppointment(appointment);
and  it show error---
Cannot parse parentAppointment recurrence rule during delete operation. Appointment ID is 762, parentAppointment ID is 762. 

Please give the solution.

Thanks ,
Kuldeep

6 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 02 Jan 2014, 06:44 AM
Hello,

The issue is most probably caused by some custom code because is not a general issue. Would you please share the code that you are using connected with RadScheduler s owe  could inspect is and be more helpful?

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Kuldeep
Top achievements
Rank 1
answered on 02 Jan 2014, 10:15 AM
Hi,

Thanks for reply.

I have resolved this issue using below code..

  [OperationContract]
        public IEnumerable<AppointmentData> DeleteAppointment(AppointmentSchedulerInfoEntity schedulerInfo, AppointmentData appointmentData, bool deleteSeries)
        {
            if (appointmentData.RecurrenceState == Telerik.Web.UI.RecurrenceState.Occurrence && deleteSeries == false)
            {
                if (!Convert.ToString(appointmentData.ID).Contains("_"))
                {
                    appointmentData.RecurrenceParentID = Convert.ToInt32(appointmentData.ID);
                }
            }
            return Controller.DeleteAppointment(schedulerInfo, appointmentData, deleteSeries);
        }

But its showing error while i delete single recurrence appointment.
Cannot locate the parent of appointment with ID = '877'. Ensure that the parent appointment with ID = '687' exists and is loaded.






0
Plamen
Telerik team
answered on 03 Jan 2014, 01:03 PM
Hi,

The problem is that in the moment you delete the occurrence with id 687 its master appointment is not loaded on the page -most probably because  the scheduler is  filtered somehow or the way it is bound is not proper. You can refer to our documentation where more information about different kind of supported databinding are described.

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Kuldeep
Top achievements
Rank 1
answered on 09 Jan 2014, 04:32 PM
Hi,

Thanks for reply .
according to you, I have resolved this issue .

But i am facing  one more issue in Multi Day View
--Show 24 hours... view not showing in radscheduler.

i have set setting related to the start time and end time.
But its not showing and switching to business Hour.

Thanks,



0
Kuldeep
Top achievements
Rank 1
answered on 13 Jan 2014, 09:40 AM
Hi Telerik Team,

Please update me above issue.

Thanks,
Kuldeep 
0
Plamen
Telerik team
answered on 14 Jan 2014, 09:59 AM
Hi,

Thank you for you concern with RadControls.

I have successfully replicated the issue locally and it looks like a bug in RadScheduler n WebService binding when RadScheduler is grouped by resources. I have logged it for fixing and you can follow its status and vote for it here. Unfortunately at the moment there is not an easy workaround of the issue but we will do our best to fix it as soon as possible. 

Please excuse us for this inconvenience caused by our control.


Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Scheduler
Asked by
Kuldeep
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Kuldeep
Top achievements
Rank 1
Share this question
or