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

Recurrence exceptions missing after editing series recurrence

2 Answers 52 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Stephen Tearle
Top achievements
Rank 2
Stephen Tearle asked on 04 Apr 2013, 12:14 AM
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 Answers, 1 is accepted

Sort by
0
Stephen Tearle
Top achievements
Rank 2
answered on 08 Apr 2013, 11:30 PM
Should I report this as a bug?  I've upgraded to WPF Q1 2013 SP1 and still have the same issue.
0
Alek
Telerik team
answered on 09 Apr 2013, 02:42 PM
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.

Tags
ScheduleView
Asked by
Stephen Tearle
Top achievements
Rank 2
Answers by
Stephen Tearle
Top achievements
Rank 2
Alek
Telerik team
Share this question
or