I'm having difficulty getting the RecurrenceEditor to populate from existing values.
Here's Telerik's example on how to populate the control:
http://www.telerik.com/help/aspnet-ajax/recurrenceeditor_serverside_populating.html
I created some code to read my selection and it spits out:
Recurrence Rule Text:
DTSTART:20101124T173647Z DTEND:20000102T000000Z RRULE:FREQ=DAILY;UNTIL=20101130T000000Z;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR
Scheduled Dates
11/24/2010 5:36:47 PM
11/25/2010 5:36:47 PM
11/26/2010 5:36:47 PM
11/29/2010 5:36:47 PM
The control's state renders fine between post backs. I then store the Recurrence Recurrence Rule Text in my database but when I try to read it back to the control later on I get nothing. None of the items are selected in the control and even the Recurrence Checkbox isn't selected? So, how do I assign this control it's values? Here's my assignment code:
protected
void
Page_Load(
object
sender, EventArgs e)
{
this
.RecurrenceEditor1.StartDate = Convert.ToDateTime(
"11/24/2010 5:36:47 PM"
);
this
.RecurrenceEditor1.RecurrenceRuleText =
"DTSTART:20101124T173647Z DTEND:20000102T000000Z RRULE:FREQ=DAILY;UNTIL=20101130T000000Z;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR"
;
}
Any help would be appreciated,
Thanks,