Recurrence exceptions missing after editing series recurrence

3 posts, 0 answers
  1. Stephen Tearle
    Stephen Tearle avatar
    9 posts
    Member since:
    Feb 2004

    Posted 03 Apr 2013 Link to this post

    I have a series recurring every day and it includes some recurrence exceptions.  If I open the series and go to the Edit Recurrence dialog and make a change, for example change the end by date, then all the recurrence exceptions disappear.  Is this a bug or is there something I need to change in order to preserve the recurrence exceptions? 

    I'm using version 2013 Q1 NET 45 of the RadScheduleView control.  This behaviour can be repeated with the RadControls for WPF Demos.
  2. Stephen Tearle
    Stephen Tearle avatar
    9 posts
    Member since:
    Feb 2004

    Posted 08 Apr 2013 Link to this post

    Should I report this as a bug?  I've upgraded to WPF Q1 2013 SP1 and still have the same issue.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Alek
    Admin
    Alek avatar
    78 posts

    Posted 09 Apr 2013 Link to this post

    Hello Stephen,

    The explained scenario is expected - you are editing the whole Recurrence and this is the default behavior of the RadScheduleView in this case. 

    There is a way to save the recurrence exceptions for this particular scenario in the code behind. You should save the exceptions using AppointmentEditing event and add them into RecurrenceRule.Exceptions using AppointmentSaving event.

    Please, take a look at the attached sample.

    We hope that the solution will fit with your needs.

    Greetings,
    Alek
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top