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

[Solved] How to display multiple schedules for Recurrence

4 Answers 166 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Sanjay Kumar
Top achievements
Rank 1
Sanjay Kumar asked on 15 May 2008, 04:43 AM
Hi,

  I'm using my own recurrence edit control to construct the RecurrenceRule string. The asp.net ajax scheduler seems to recognize that the schedule as recurring (with the recurring icon) but it will only display the 1st schedule. How do I display all the schedules? The recurrence is for a daily recurring schedule that ends after 20 occurrences. The rrule string is:

       DTSTART:20080514T150000Z\nRRULE:FREQ=DAILY;INTERVAL=1;COUNT=20


Thanks.

4 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 16 May 2008, 12:17 PM
Hello Sanjay,

You seem to be missing the DTEND part of the rule. It should be set to the end of the first occurrence. For example:

DTSTART:20080514T150000Z
DTEND:20080514T160000Z
RRULE:FREQ=DAILY;INTERVAL=1;COUNT=20


Sincerely yours,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Sanjay Kumar
Top achievements
Rank 1
answered on 16 May 2008, 05:01 PM
Thanks for the reply but it doesn't seem to work? I tried with the DTEND being the same time as the DTSTART and now the control won't even show the recurring schedule? Thanks.

DTSTART:20080514T150000Z\nDTEND:20080514T150000Z\nRRULE:FREQ=DAILY;INTERVAL=1;COUNT=20
0
Sanjay Kumar
Top achievements
Rank 1
answered on 16 May 2008, 05:33 PM
Sorry, pasted the wrong string.

DTSTART:20080513T210000Z\nDTEND:20080513T223000Z\nRRULE:FREQ=DAILY;INTERVAL=1;COUNT=5

With the above string, the schedule doesn't show up in the control at all. Any ideas? Thanks.
0
Sanjay Kumar
Top achievements
Rank 1
answered on 17 May 2008, 04:55 AM
Found what I was missing, it seems the BYDAY parameter is required, once that was in, all the appointments showed up. Thanks.
Tags
Scheduler
Asked by
Sanjay Kumar
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Sanjay Kumar
Top achievements
Rank 1
Share this question
or