increase recurrencerule size?

3 posts, 0 answers
  1. Dan
    Dan avatar
    32 posts
    Member since:
    Feb 2010

    Posted 14 Jul 2011 Link to this post

    Is there a way to increase this from 1024? I made the field larger in my database but the string stops accepting input at 1024 still. I figure this must be built into the control but can't find a property to override this.

    Also, how do I detect if the "No end date" recurrence radio button is checked? We don't want users to put in unlimitted appointments. If that radio button cannot be disabled I want to cancel the appointment if they select it and it would be good if I could set the default to the "End after" or "End by" radio button.
  2. Plamen
    Admin
    Plamen avatar
    2933 posts

    Posted 19 Jul 2011 Link to this post

    Hello Dan,

    Unfortunately the size of the recurrence rule field is this big by default and can not be changed.
    Here is one way that hides the "No end" checkbox and selects the "Until Given Date" with jquery:
    function OnClientFormCreated(sender, args) {
               $ = $telerik.$;
               var ch = $("[id$='_RepeatIndefinitely']").attr('checked', false);
               var ch2 = $("[id$='_RepeatUntilGivenDate']").attr('checked', true);
               var noend = $('.rsAdvRecurrenceRangePanel li:first-child').hide();
     
           }

    Hope this will help you.

    Regards,
    Plamen Zdravkov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. Dan
    Dan avatar
    32 posts
    Member since:
    Feb 2010

    Posted 19 Jul 2011 Link to this post

    Thanks Plamen
Back to Top