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

[Solved] Problem with RadScheduler and Recurrence

2 Answers 184 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Colibri
Top achievements
Rank 1
Colibri asked on 23 Jul 2009, 03:47 PM
Hi,

I've spend my day trying to display a recurring appointment in a radScheduler.

More context:
I Bind my RadScheduler to a IEnumerable like that :
           
scheduler.DataKeyField = "Id"
scheduler.DataSubjectField = "Title"
scheduler.DataStartField = "Start"
scheduler.DataEndField = "End"
scheduler.DataRecurrenceField = "RecurrenceRule"
scheduler.DataRecurrenceParentKeyField = "MasterItemId"
 
scheduler.DataSource = results; 
scheduler.DataBind(); 

results is an IQueryable that represents the appointments to display.

I try to convert a single existing appointment to a recurring one just by specifying the RecurrenceRule on DB like that :
DTSTART:20090724T180000Z 
DTEND:20090724T190000Z 
RRULE:FREQ=DAILY;COUNT=10;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU

to the following appointment:
Subject : Test 
Start : 24/07/2009 18:00:00 
End : 24/07/2009 19:00:00 

My RadScheduler diplays for :
  • DAILY VIEW : nothing
  • WEEKLY VIEW : 3 appointments with same name and start/end on the same day (2009/07/24) width the recurring symbol on the left corner.
  • MONTHLY VIEW : same as in weekly view but it only displays 2 appointments*
*Probably due to my radscheduler display configuration
But it is not displaying the recurring occurences in the RadScheduler.

I don't understand why ? Why the RadScheduler is displaying multiple items of my master appointment in the same day instead of displaying for the next 10 days, an ocurrence per day ?

Please help me to understand.

Thanks

2 Answers, 1 is accepted

Sort by
0
Colibri
Top achievements
Rank 1
answered on 23 Jul 2009, 05:07 PM
I've debug it a little and it seems that the recurrence is done but the occurences are all shown in a single day.
I don't understand why because my RecurrenceRule string seems to be fair
0
Colibri
Top achievements
Rank 1
answered on 27 Jul 2009, 12:16 PM
My bad, I was overwriting Start and End Appointments values with the recurring master Start and End values.
That's why the recurrence seems not to work.
Tags
Scheduler
Asked by
Colibri
Top achievements
Rank 1
Answers by
Colibri
Top achievements
Rank 1
Share this question
or