Problem editing the single occurence of a meeting in Recurrence meeting in Radscheduler

4 posts, 0 answers
  1. Rakesh
    Rakesh avatar
    10 posts
    Member since:
    Aug 2012

    Posted 01 Aug 2012 Link to this post

    Hi,

    I am working with creating recurring meetings. I don't have any problem creating recurring meeting and editing the series, but when I want to edit the single occurence of the series i am facing many difficulties. My modified subject won't get updated one in AppoinementUpdate event and my appointment gets deleted on updating. I also donno for some reason after my update event is fired , insert event gets fired and it has the updated subject. Not sure whats going on. I need it asap.
    Can anyone please suggest what the issue could be?
    Thanks in advance.

    Regards,
    Rakesh
  2. Rakesh
    Rakesh avatar
    10 posts
    Member since:
    Aug 2012

    Posted 01 Aug 2012 Link to this post

    Hi,

    The issue is resolved. The thing I left is RecurrenceState. Once I assigned the RecurrenceState and save it, everything works.

    Thanks,
    Rakesh
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Matt
    Matt avatar
    49 posts
    Member since:
    Jun 2012

    Posted 21 Nov 2013 Link to this post

    I know this post is old... could you explain "assigned the RecurrenceState and save it"?
  5. Rakesh
    Rakesh avatar
    10 posts
    Member since:
    Aug 2012

    Posted 21 Nov 2013 Link to this post

    Matt,

    RadScheduler includes support for recurring events on hourly, weekly, daily, monthly and yearly basis. Exceptions to the recurrence rules are also permitted. To support this recurrence behavior, the Appointment class includes the RecurrenceRule, RecurrenceParentID and RecurrenceState properties. When an appointment is promoted into a recurring event its RecurrenceState changes to RecurrenceState.Master and the RecurrenceRule is populated with the string representation of the recurrence rule.

    You can set the recurrence state  in AppointmentUpdate and AppointmentInsert events of RadScheduler.

    The recurrence master is stored in the database and its occurrences are generated on the fly with RecurrenceState set to RecurrenceState.Occurrence.
    If the user modifies an individual appointment occurrence, this creates an exception. The RecurrenceRule of the master is modified to include the date and time of the exception so that no occurrence is generated for the exception occurrence. Then the exception is stored in the database and its RecurrenceParentID property is set to reference the original master. This way the exception is still linked to the original recurrence series.



    Thanks,
    Rakesh
Back to Top