Edit single Recurrence Error

7 posts, 0 answers
  1. Kuldeep
    Kuldeep avatar
    25 posts
    Member since:
    May 2013

    Posted 30 Dec 2013 Link to this post


    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
  2. Plamen
    Admin
    Plamen avatar
    2731 posts

    Posted 02 Jan 2014 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kuldeep
    Kuldeep avatar
    25 posts
    Member since:
    May 2013

    Posted 02 Jan 2014 Link to this post

    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.






  5. Plamen
    Admin
    Plamen avatar
    2731 posts

    Posted 03 Jan 2014 Link to this post

    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.
  6. Kuldeep
    Kuldeep avatar
    25 posts
    Member since:
    May 2013

    Posted 09 Jan 2014 Link to this post

    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,



  7. Kuldeep
    Kuldeep avatar
    25 posts
    Member since:
    May 2013

    Posted 13 Jan 2014 Link to this post

    Hi Telerik Team,

    Please update me above issue.

    Thanks,
    Kuldeep 
  8. Plamen
    Admin
    Plamen avatar
    2731 posts

    Posted 14 Jan 2014 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017