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

RecurrencePattern bug? When picking a specified day of the month

4 Answers 60 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
towpse
Top achievements
Rank 2
towpse asked on 25 Nov 2009, 03:51 PM
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.

4 Answers, 1 is accepted

Sort by
0
towpse
Top achievements
Rank 2
answered on 25 Nov 2009, 03:57 PM
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?
0
Peter
Telerik team
answered on 26 Nov 2009, 02:19 PM
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.
0
towpse
Top achievements
Rank 2
answered on 09 Feb 2010, 06:06 PM
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



0
Peter
Telerik team
answered on 12 Feb 2010, 01:54 PM
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.
Tags
Scheduler
Asked by
towpse
Top achievements
Rank 2
Answers by
towpse
Top achievements
Rank 2
Peter
Telerik team
Share this question
or