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

Recurrence Rule ignoring "End After 'X' Occurrences" and using tomorrow as the "End By" date

2 Answers 142 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Chad
Top achievements
Rank 1
Chad asked on 23 Jun 2011, 06:16 PM
I am using the 2010.3.1510.40 version. When I add an event with recurrence all works fine if I leave it with no end date.
However, if I try to use the "End After 'X' occurrences" option, the rule that is generated does not include anything for that limit and I get an event that recurs forever.
Also, if I try to use the date picker to end a recurrence by a certain date, the rule that is generated has tomorrow's date (no matter what I chose for the end date).

Here is the generated rule for an event that I set with Weekday occurrence, starting on 7/4/2011 and it was supposed to end on 7/9/2011:
DTSTART:20110704T180000Z
DTEND:20110704T200000Z
RRULE:FREQ=DAILY;UNTIL=20110624T050000Z;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR

The "UNTIL" is specified as 6/24/2011 so, needless to say, none of the occurrences ever showed up.

Is there a workaround for this issue?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Chad
Top achievements
Rank 1
answered on 24 Jun 2011, 03:35 PM
To update relevant information on this issue...this problem occurs in any ASP.NET 4 Web Application project I try to use the scheduler in. I have a ASP.Net 4 Web Site project in which the scheduler is not displaying these symptoms.

I have also tried setting the "controlRenderingCompatibilityVersion" on the <pages> tag in the web.config to "3.5" but it did not affect the outcome.

I have attached screenshots of the UI showing the appointments/events as I add them and shots of the VS Debugger with the generated recurrence rules for the e.Appointment object.
0
Chad
Top achievements
Rank 1
answered on 24 Jun 2011, 09:40 PM
I figured it out...I followed the instructions in the help section on creating a RadControls scenario and created one using the Advanced Appointment template. I then brought this template into my project and made the necessary modifications for my use and...recurrence works!
Tags
Scheduler
Asked by
Chad
Top achievements
Rank 1
Answers by
Chad
Top achievements
Rank 1
Share this question
or