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

RecurrenceRule in custom insert form

2 Answers 11 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
david
Top achievements
Rank 1
david asked on 17 Aug 2015, 10:37 PM

Is there an example of how to process the RadSchedulerRecurrenceEditor1.RecurrenceRule data when processing server side and saving the appointment data?

Persumably the RadSchedulerRecurrenceEditor1.RecurrenceRule.ToString() is stored in the RecurrenceRule column of the sample database

Do we then process the recurrences and insert records for each occurence like this: http://docs.telerik.com/devtools/aspnet-ajax/controls/scheduler/server-side-programming/working-with-recurring-appointments

 Is the rule stored in each occurence ?

What is the RecurrenceParentID set to?

2 Answers, 1 is accepted

Sort by
0
david
Top achievements
Rank 1
answered on 18 Aug 2015, 06:04 PM

Ok, I think I've answered my own questions (below) but I do have a problem - the recurrenceRule from the RadSchedulerRecurrenceEditor on my form doesn't know where to get the range data (start, end , duration), how can I set those properties from my controls so they are correctly stored in the rule and don't look like this:

 DTSTART:20000101T000000Z
DTEND:20000102T000000Z

RRULE:FREQ=WEEKLY;COUNT=10;INTERVAL=1;BYDAY=TU,SA

Persumably the RadSchedulerRecurrenceEditor1.RecurrenceRule.ToString() is stored in the RecurrenceRule column of the sample database - Yes
Do we then process the recurrences and insert records for each occurrence - No, this is automatic
 Is the rule stored in each occurence ? - N/A
What is the RecurrenceParentID set to? - to the parent when a recurrence is changed

0
david
Top achievements
Rank 1
answered on 18 Aug 2015, 06:21 PM

couldn't be simpler :)

 

                    RadSchedulerRecurrenceEditor1.StartDate = Convert.ToDateTime(dt1.SelectedDate.ToString()).ToUniversalTime();                     RadSchedulerRecurrenceEditor1.EndDate = Convert.ToDateTime(dt2.SelectedDate.ToString()).ToUniversalTime();‚Äč

Tags
Scheduler
Asked by
david
Top achievements
Rank 1
Answers by
david
Top achievements
Rank 1
Share this question
or