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

Monthly Recurrence Rule Problem

1 Answer 49 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 26 May 2012, 07:47 PM
Hi,
    I have the following recurrence pattern string DTSTART:20120502T113000ZDTEND:20120502T123000ZRRULE:FREQ=MONTHLY;INTERVAL=16;BYMONTHDAY=2
I use this code to apply it to an appointment
                var pattern = new Telerik.Windows.Controls.ScheduleView.RecurrencePattern();
                if (Telerik.Windows.Controls.ScheduleView.ICalendar.RecurrencePatternHelper.TryParseRecurrencePattern(item.Recurrence_rule, out pattern))
                {
                    apt.RecurrenceRule = new Telerik.Windows.Controls.ScheduleView.RecurrenceRule(pattern);
}

When checking for occurennces it seems to occur every 12 months on day 2 and not every 16 months. In fact any month number over 12 seems always fall back to 12.

Is this a bug or have I got my logic wrong?
Thanks

1 Answer, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 31 May 2012, 11:15 AM
Hello Paul,

We investigated the issue and it seems that this is a bug in the control. It breaks when you try to create such recurrent appointment from the UI as well. I have logged this issue in our PITS, where you can follow its progress.

Please, excuse us for the inconvenience. We have added points to your account for the report. Don't hesitate to contact us if you have other questions.


Kind regards,
Boyan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
ScheduleView
Asked by
Paul
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Share this question
or