Recurrence Rule ignoring "End After 'X' Occurrences" and using tomorrow as the "End By" date

3 posts, 0 answers
  1. Chad
    Chad avatar
    3 posts
    Member since:
    Nov 2010

    Posted 23 Jun 2011 Link to this post

    I am using the 2010.3.1510.40 version. When I add an event with recurrence all works fine if I leave it with no end date.
    However, if I try to use the "End After 'X' occurrences" option, the rule that is generated does not include anything for that limit and I get an event that recurs forever.
    Also, if I try to use the date picker to end a recurrence by a certain date, the rule that is generated has tomorrow's date (no matter what I chose for the end date).

    Here is the generated rule for an event that I set with Weekday occurrence, starting on 7/4/2011 and it was supposed to end on 7/9/2011:
    DTSTART:20110704T180000Z
    DTEND:20110704T200000Z
    RRULE:FREQ=DAILY;UNTIL=20110624T050000Z;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR

    The "UNTIL" is specified as 6/24/2011 so, needless to say, none of the occurrences ever showed up.

    Is there a workaround for this issue?

    Thanks.
  2. Chad
    Chad avatar
    3 posts
    Member since:
    Nov 2010

    Posted 24 Jun 2011 Link to this post

    To update relevant information on this issue...this problem occurs in any ASP.NET 4 Web Application project I try to use the scheduler in. I have a ASP.Net 4 Web Site project in which the scheduler is not displaying these symptoms.

    I have also tried setting the "controlRenderingCompatibilityVersion" on the <pages> tag in the web.config to "3.5" but it did not affect the outcome.

    I have attached screenshots of the UI showing the appointments/events as I add them and shots of the VS Debugger with the generated recurrence rules for the e.Appointment object.
  3. Chad
    Chad avatar
    3 posts
    Member since:
    Nov 2010

    Posted 24 Jun 2011 Link to this post

    I figured it out...I followed the instructions in the help section on creating a RadControls scenario and created one using the Advanced Appointment template. I then brought this template into my project and made the necessary modifications for my use and...recurrence works!
Back to Top