Hello, can anyone provide sample c# code or detailed documentation on the easiest way to extract/parse portions of a weekly recurrence string like:?
DTSTART:20090410T120000Z
DTEND:20090410T180000Z
RRULE:FREQ=WEEKLY;UNTIL=20090430T040000Z;INTERVAL=2;BYDAY=MO,WE
I have this value stored in a db field as a string and would like to extract some parts of this like the 'BYDAY' values and re-assign them to an existing appointment's recurrency rule.
Thanks in advance.
DTSTART:20090410T120000Z
DTEND:20090410T180000Z
RRULE:FREQ=WEEKLY;UNTIL=20090430T040000Z;INTERVAL=2;BYDAY=MO,WE
I have this value stored in a db field as a string and would like to extract some parts of this like the 'BYDAY' values and re-assign them to an existing appointment's recurrency rule.
Thanks in advance.
6 Answers, 1 is accepted
0
Hello ,
Here is the help topic on working with recurring appointments:
http://www.telerik.com/help/aspnet-ajax/schedule_serversideworkingwithrecurringappointments.html
If you have further questions - let us know.
Best wishes,
Peter
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Here is the help topic on working with recurring appointments:
http://www.telerik.com/help/aspnet-ajax/schedule_serversideworkingwithrecurringappointments.html
If you have further questions - let us know.
Best wishes,
Peter
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0

.
Top achievements
Rank 1
answered on 13 Apr 2009, 07:38 PM
Thanks for your reply Peter, I appreciate it. Actually I did come across this earlier but perhaps I can rephrase my question as...am I correct in that it appears you can't assign the DTEND portion of the recurrence string directly and that a temporary new RecurrenceRange() object has to be created in which one would assign it via the .EventDuration property? If yes then how would one go about setting it to end at a specific time of day if one knows the hour & minute (like 10:30pm for example) instead of adding/subtracting hours & minutes through the TimeSpan function?
0
Hi,
It is not possible to set directly the End date, you need to work with the .EventDuration property. Let us know if you are having problems getting your code to work this way and we will try to provide help with the implementation.
Sincerely yours,
Dimitar Milushev
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
It is not possible to set directly the End date, you need to work with the .EventDuration property. Let us know if you are having problems getting your code to work this way and we will try to provide help with the implementation.
Sincerely yours,
Dimitar Milushev
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0

.
Top achievements
Rank 1
answered on 14 Apr 2009, 05:31 PM
...nevermind...I think I figured it out and have it working now. Thanks.
0

Gabe Silvarajoo
Top achievements
Rank 2
answered on 05 Mar 2012, 07:42 PM
The link to help topic working with recurring appointments is broken, Please relay the updated link if it is available. If not, where can I find resources to parse RadSheduler's recurrence rule. Thanks.
Gabe
Gabe
0
Hello Gabe,
Here is the correct link - http://www.telerik.com/help/aspnet-ajax/scheduler-working-with-recurring-appointments.html.
All the best,
Peter
the Telerik team
Here is the correct link - http://www.telerik.com/help/aspnet-ajax/scheduler-working-with-recurring-appointments.html.
All the best,
Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.