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

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

5 Answers 18 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Hemika
Top achievements
Rank 1
Hemika asked on 22 Jan 2014, 07:53 PM
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.


5 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 27 Jan 2014, 04:59 PM
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.
0
Hemika
Top achievements
Rank 1
answered on 27 Jan 2014, 08:15 PM
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.




0
Boyan Dimitrov
Telerik team
answered on 30 Jan 2014, 04:07 PM
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.
0
Hemika
Top achievements
Rank 1
answered on 04 Mar 2014, 06:46 AM
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

 
0
Boyan Dimitrov
Telerik team
answered on 06 Mar 2014, 07:19 PM
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!

Tags
Scheduler
Asked by
Hemika
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Hemika
Top achievements
Rank 1
Share this question
or