RecurrenceRule in custom insert form

3 posts, 0 answers
  1. david
    david avatar
    210 posts
    Member since:
    May 2007

    Posted 17 Aug 2015 Link to this post

    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. david
    david avatar
    210 posts
    Member since:
    May 2007

    Posted 18 Aug 2015 in reply to david Link to this post

    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

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. david
    david avatar
    210 posts
    Member since:
    May 2007

    Posted 18 Aug 2015 in reply to david Link to this post

    couldn't be simpler :)

     

                        RadSchedulerRecurrenceEditor1.StartDate = Convert.ToDateTime(dt1.SelectedDate.ToString()).ToUniversalTime();                     RadSchedulerRecurrenceEditor1.EndDate = Convert.ToDateTime(dt2.SelectedDate.ToString()).ToUniversalTime();​

Back to Top