Bind Empty Recurrence Rule from client side

4 posts, 0 answers
  1. Prasanna
    Prasanna avatar
    47 posts
    Member since:
    Oct 2012

    Posted 28 Nov 2012 Link to this post

    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.
  2. Plamen
    Admin
    Plamen avatar
    2958 posts

    Posted 03 Dec 2012 Link to this post

    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.
  3. Prasanna
    Prasanna avatar
    47 posts
    Member since:
    Oct 2012

    Posted 05 Dec 2012 Link to this post

    Thanks. but i don't want to set any frequency option.
  4. Plamen
    Admin
    Plamen avatar
    2958 posts

    Posted 05 Dec 2012 Link to this post

    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.
Back to Top