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

All Day Events and RecurrenceRule

1 Answer 96 Views
This is a migrated thread and some comments may be shown as answers.
Christopher Susilraj
Top achievements
Rank 1
Christopher Susilraj asked on 07 Feb 2009, 05:25 AM
       Am using Dataset to bind data to the Scheduler. In the dataset i fetch
       Id, Subject, StartTime, EndTime, RecurrenceRule , RecurrenceParentId and Annotations. In the above fields I Set Null values to
       RecurrenceRule,RecurrenceParentId and Annotations. because i don't know how to set the values for the fields. Now My Questions
1) What is Recurrence Rule? How to set values for the Recurrence Rule? Give Sample values.
2) How to Set All Day Events? Should i add a New Column for All Day events while fetching. and alose what is the key field for all day events in Scheduler.
3) We have a table to Set recurrence  for an appointments. can i implement Scheduler's Recurrence data with my table.

Sathak Musthafa

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 09 Feb 2009, 03:47 PM
Hello Sathak,

We have answered the support ticket you sent on these issues. Here is our reply in case anyone else has similar questions:

"I have prepared and attached a small demo to serve as reference for the questions you asked.

1. You can get detailed information on recurring apointments and recurrence rule here. In the attached demo, if you view the Appointments table data you will see the following data under the RecurrenceRule


This represents a sample recurrence string. Notice the new lines. RadScheduler will automatically generate the recurrence strings based on the choices you select in the recurrence panel of the advanced form. If you need to programmatically generate recurrence strings make sure you implement the required new lines with "\n\r". For example the above sample will translate to the following string in code behind:
// * * * 

2. All day events are created when you check the "all day" checkbox in the advanced form. An all day apopappoinment has its start time set to 12:00 am of the day for which it is scheduled and the end time set to 12:00 am the day after. For example:

Start: 2/9/2009 12:00:00 AM
End: 2/10/2009 12:00:00 AM

You don't need an additional field for all day appointments. The above format is sufficient. "

Best wishes,
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Asked by
Christopher Susilraj
Top achievements
Rank 1
Answers by
Telerik team
Share this question