"End By" issue in "Scheduler - External Edit in RadDock"

6 posts, 0 answers
  1. Hemika
    Hemika avatar
    38 posts
    Member since:
    Dec 2012

    Posted 22 Jan 2014 Link to this post

    Hi, 

    This is an issue I found in the demo("Scheduler - External Edit in RadDock" -  http://demos.telerik.com/aspnet-ajax/scheduler/examples/raddock/defaultcs.aspx) as well. When creating an appointment using the customized RadDock, the "End By" date does not properly create the appointment for recurring ones. Using the normal appointment editor(not the RadDock one), when a date is chosen for "End By" date. An occurrence will get create for that particular day included. 
    But when using the RadDock as the appointment editor, an occurrence does not get created for the date selected on the "End By" date.

    Example.
    Image 1 : Creating a recurring appointment that does not use the RadDock. The appointment to be created is a recurring one with Daily, occurring every day with start date, end date and end by date as 4/18/2012.
    Image 1 - Outcome : An occurrence is created for the appointment on the 4/18/2012.

    Image 2 : Creating a recurring appointment using the RadDock. The appointment to be created is a recurring one with Daily, occurring every day with start date, end date and end by date as 4/18/2012.
    Image 2 - Outcome : No occurrence got created for the appointment on the 4/18/2012.

    If more clarification is needed, please reply.

    Thank you.


  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 27 Jan 2014 Link to this post

    Hello,

    Thank you for contacting Telerik Support.

    I would like to clarify that your observations are absolutely correct and I reproduced the described issue. Please find attached a modified version of our RadDock demo that avoids this problem.

    As a token of gratitude I updated your Telerik points.

    Regards,
    Boyan Dimitrov
    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 UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Hemika
    Hemika avatar
    38 posts
    Member since:
    Dec 2012

    Posted 27 Jan 2014 in reply to Boyan Dimitrov Link to this post

    Thank you for the reply.

    I checked the demo. What I identified as the fix was adding an extra day to the RecursUntil (rrule.Range.RecursUntil.AddDays(1)) property. This fix is correct when creating an appointment. But there will be problem when editing an appointment.
    Assume you create a recurring appointment with start date and end by date with the same date value with a daily recurrence pattern(this would result in 1 occurrence). Once the appointment is created on the scheduler, open up the RadDock for editing the appointment. Without changing any values, just click update. Now there will be 2 occurrences created. This is because we are adding a day every time to the RecursUntil property of the Recurrence Pattern. 

    Hoping to see a reply soon. Thanks.




  5. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 30 Jan 2014 Link to this post

    Hello,

    I would like to clarify that I am not able to replicate the described issue. In order to avoid any further consciousness I have prepared a video that shows the RadScheduler behavior at my side. Please watch the video here and explain how exactly you can replicate creating two occurrence appointments when editing the series without changing any appointment detail.

    Regards,
    Boyan Dimitrov
    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 UI for ASP.NET AJAX, subscribe to the blog feed now.
  6. Hemika
    Hemika avatar
    38 posts
    Member since:
    Dec 2012

    Posted 04 Mar 2014 Link to this post

    Thank you for the reply.

    I am having an issue with the Scheduler demo when I was trying to recreate the issue which I have explained earlier. I have prepared a video which demonstrates the issue which I am facing at the moment. Can you please
    help me with this issue?

     Demo - http://www.screencast.com/t/0esxHNbPc

    Hoping to see a reply soon.Thank you

     
  7. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 06 Mar 2014 Link to this post

    Hello,

    Please find attached a sample project that avoids this problem. Could you please confirm that this implementation works fine with creating and editing recurring appointments? If you are not facing any issues with this project we will update the demo for our upcoming service pack release.


    Regards,
    Boyan Dimitrov
    Telerik

    DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017