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

Bind Empty Recurrence Rule from client side

3 Answers 75 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Prasanna
Top achievements
Rank 1
Prasanna asked on 28 Nov 2012, 02:55 PM
Hi,

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

Sort by
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.
0
Prasanna
Top achievements
Rank 1
answered on 05 Dec 2012, 11:23 AM
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.
Tags
Scheduler
Asked by
Prasanna
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Prasanna
Top achievements
Rank 1
Share this question
or