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

increase recurrencerule size?

2 Answers 30 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 14 Jul 2011, 03:44 PM
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 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 19 Jul 2011, 11:39 AM
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!

0
Dan
Top achievements
Rank 1
answered on 19 Jul 2011, 01:40 PM
Thanks Plamen
Tags
Scheduler
Asked by
Dan
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Dan
Top achievements
Rank 1
Share this question
or