RecurrencePattern bug? When picking a specified day of the month

5 posts, 0 answers
  1. towpse
    towpse avatar
    224 posts
    Member since:
    Mar 2008

    Posted 25 Nov 2009 Link to this post

    On the advanced form, when I try to set up a monthly recurring appointment for a specific day of the month, for instance the first weekend or the first monday or the second tuesday etc... I cannot seem to create a valid RecurrenceRule object from the recurrence rule string I get from the scheduler.

    Here's a sample rule string

    "DTSTART:20091128T000000Z\r\nDTEND:20091128T010000Z\r\nRRULE:FREQ=MONTHLY;INTERVAL=1;BYSETPOS=NaN;BYDAY=\r\n\r\n"

    Here's my code that works for every other recurrence expect the specific month.

                        RecurrenceRule parsedRule;  
                        RecurrenceRule.TryParse(appointment.RecurrenceRule, out parsedRule); 


    Anyone know what gives?
    It looks like the control is not setting the BYDAY properly.

    Cheers.
  2. towpse
    towpse avatar
    224 posts
    Member since:
    Mar 2008

    Posted 25 Nov 2009 Link to this post

    Yeah I keep getting this rubbish data at the end of the string

    BYSETPOS=NaN;BYDAY=

    it doesn't set these properly... Is this known?? is there a quick workaround?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 26 Nov 2009 Link to this post

    Hello towps,

    We did some tests with Monthy recurrence, but everything seemed to be fine with RadScheduler. For example, creating recurrence rule as in the attached screen capture, produced the following recurrence rule:

    DTSTART:20091126T100000Z
    DTEND:20091126T110000Z
    RRULE:FREQ=MONTHLY;COUNT=4;INTERVAL=1;BYSETPOS=1;BYDAY=MO

    I have also attached a simple demo for reference.


    Greetings,
    Peter
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. towpse
    towpse avatar
    224 posts
    Member since:
    Mar 2008

    Posted 09 Feb 2010 Link to this post

    It seems as though this was confirmed to be a bug.

    http://www.telerik.com/community/forums/aspnet-ajax/scheduler/recurrence-error.aspx

    Can anyone comment on the status and progress of correcting this issue?
    It looks like I can successfully create a monthly relative on the demos but the latest release, as far as I can tell, still has an issue.
    Is this fixed in a recent internal build?

    the recurrence rule string that I am still seeing when trying to create a monthly relative looks like this:

    DTSTART:20100216T090000Z
    DTEND:20100216T093000Z
    RRULE:FREQ=MONTHLY;UNTIL=89991231T235959Z;INTERVAL=1;BYSETPOS=NaN;BYDAY=

    thanks



  6. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 12 Feb 2010 Link to this post

    Hi towps,

    I have replied in the forum thread you refer to.

    Greetings,
    Peter
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017