I have recurrence editor in rad window. i need to bind empty recurrence rule to recurrence editor from client side.
Like this,
Let me know how to do this.
Thanks,
Prasanna.
3 Answers, 1 is accepted
0
Plamen
Telerik team
answered on 03 Dec 2012, 02:33 PM
Hello Prasanna,
RecurrenceEditor does not support being populated with empty recurrence rule. Here is a sample code that shows the minimum information in the recurrence rule that you need in order to populate it:
function OnClientClicked(sender, args) {
var rrule = Telerik.Web.UI.RecurrenceRule.parse("DTSTART:20100714T000000Z\nDTEND:20100715T000000Z\nRRULE:FREQ=WeekLY;");
var editor = $find("RecurrenceEditor1");
editor.set_recurrenceRule(rrule);
}
Hope this will be helpful.
Regards,
Plamen
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.
Thanks. but i don't want to set any frequency option.
0
Plamen
Telerik team
answered on 05 Dec 2012, 04:17 PM
Hello Prasanna,
Unfortunately the RecurrenceEditor can not be populated without such selection.
Greetings,
Plamen
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.