Edit this page

Reading the Recurrence Rule

The recurrence rule is incomplete without the start and end date of the first occurrence.

You need to set them to the startDate and endDate properties before retrieving the recurrence rule.

The following example builds the recurrence rule by reading the Start and End date from two RadDatePickers on the page:

var editor = $find("RecurrenceEditor1");
var startDate = $find("StartDate").get_selectedDate();
var endDate = $find("EndDate").get_selectedDate();
var rrule = editor.get_recurrenceRule();