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

[Solved] Remove Hourly frequency choice

2 Answers 136 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Rune
Top achievements
Rank 2
Rune asked on 24 Jul 2009, 09:44 AM
Hi,

I need to remove the hourly frequency choice from an advanced edit form. If I just remove the markup and serverside code for the radio button I get a javascript error when loading the edit form. It is the AdvancedForm.js file that makes the error.

There must be a way of removing some of the freequency choices without creating errors!?

I appreciate your help.

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 24 Jul 2009, 03:19 PM
Hi Rune,

How about using jQuery:
 <script type="text/javascript">     
        window.$ = $telerik.$;  
        $(document).ready(function() {  
           $(".rsRecurrenceOptionList li:first").hide();  
        });       
    </script>   


Greetings,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Rune
Top achievements
Rank 2
answered on 27 Jul 2009, 06:05 AM
Hi,

I had hoped you had an build in feature to do it. But jQuery is fine for me.

Thankyou for your answer.
Tags
Scheduler
Asked by
Rune
Top achievements
Rank 2
Answers by
Peter
Telerik team
Rune
Top achievements
Rank 2
Share this question
or