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

Recurring appointments not showing

3 Answers 99 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 15 Dec 2008, 03:57 PM
Hi All

I've just been trying to get recurring appointments to work with a rad window. I have the recurrence rule saving.

DTSTART:20081215T140000Z  DTEND:20081217T143000Z  RRULE:FREQ=HOURLY;COUNT=10;INTERVAL=1

But when I add the appointment to the scheduler it doesn't show. My scheduler has these properties for the recurrence.

DataRecurrenceField

 

="RecurrenceRule"

 

 

DataRecurrenceParentKeyField="RecurrenceParentID"

 


Any help would be brilliant.

Cheers
Jon

3 Answers, 1 is accepted

Sort by
0
Brian Mains
Top achievements
Rank 1
answered on 15 Dec 2008, 05:36 PM
Hey,

Are you programmably creating these appointments?  Try setting the DayOfWeekMask set to EveryDay.  Or you can do this by adding this to the rule that you have above:

;BYDAY=MO,TU,WE,TH,FR,SA,SU

I was having the same problem...
0
Jonathan
Top achievements
Rank 1
answered on 15 Dec 2008, 08:06 PM
Hi Brian

I'm creating the appointment in a rad window with my own recurrence screen.

I'm then creating the recurrence object and saing the recurrencerule to the database. When the appointments are loaded from the database I assign the recurrencerule to the appointmentinfo class.

I assumed it was as simple as that but it doesn't look like. I'e added a load of other custom propertis to the appointmentinfo class but I can't see that they would cause any problems.

Cheers
Jon
0
Brian Mains
Top achievements
Rank 1
answered on 15 Dec 2008, 08:39 PM
Hey,

The other issue that was pointed out was that when stored in the database, Telerik uses a \r\n characters, which the database converted to spaces.  Replacing the two spaces between data with \r\n also addressed some of the issues.

To recur by day, I set got this following rule to work

Recurs: DTSTART:20081222T090000Z DTEND:20081222T100000Z RRULE:FREQ=DAILY;COUNT=25;INTERVAL=7;BYDAY=MO,TU,WE,TH,FR,SA,SU

Which before the RRULE there is a new line (\r\n).  Also, to set this up I used the following settings:

RecurrencePattern Settings: Day of Month: 0, Day Ordinal: 0, Day of Week Mask: EveryDay, First Day of Week: Sunday, Frequency: Daily, Interval: 7, Month: None

 

RecurrenceRange Settings: Start: 12/22/2008 9:00:00 AM, Duration: 01:00:00, Max Occurrences: 25, Recurs Until: 12/31/9999 11:59:59 PM

Check out the property settings to determine if your's match at all.  Hope this helps.  If not, could you post some code?

Brian

Tags
Scheduler
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Brian Mains
Top achievements
Rank 1
Jonathan
Top achievements
Rank 1
Share this question
or