Monthly Recurrence Rule Problem

2 posts, 0 answers
  1. Paul
    Paul avatar
    113 posts
    Member since:
    May 2009

    Posted 26 May 2012 Link to this post

        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?
  2. Boyan
    Boyan avatar
    758 posts

    Posted 31 May 2012 Link to this post

    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,
    the Telerik team

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

Back to Top