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

Hiding Occurrences in Recurrence Editor

3 Answers 48 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Vish
Top achievements
Rank 2
Vish asked on 28 Jul 2010, 10:43 AM
Hi All,

           Thank you very much for the support you people are provoding.Now I am here with another problem of recurrence editor
I want to hide End after  radio button and numeric Text box for entering occurrence and the text 'Occurrence' itself .I was able to hide the radio button and Numeric text box but can't hide the text 'occurrences' .Pls tell me how can I hide the text occurrence its really urgent .hope that U understand the issue .All theses are in the recurrencerange panel of recurrence editor

Thanks and Regards
Vishnu.B.R

3 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 02 Aug 2010, 03:10 PM
Hi Vish,

You can subscribe to the OnClientFormCreated event and use this code in the handler to hide the "End after" radio button:

function formCreated(sender, args) {
           var $ = $telerik.$;
           $(".rsAdvRecurrenceRangePanel .rsAdvOptionsPanel ul li:nth-child(2)").addClass('hidden');
       }

Hope this helps.

Best wishes,
Veronica Milcheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Vish
Top achievements
Rank 2
answered on 04 Aug 2010, 07:31 AM
Hi All,
        Please check the issue first .I don't want to hide the radio button 'End After'  I want to hide the Text 'Occurrence ' for entering maximum occurrences.

Thanks and Regards
Vishnu
0
Veronica
Telerik team
answered on 04 Aug 2010, 02:34 PM
Hi Vish,

Could you please be more specific about what are you trying to achieve?

In your first post you say: "I was able to hide the radio button and Numeric text box but can't hide the text 'occurrences' ."

You can not access the "occurences" text so the solution is to hide the radio button, numeric box and text altogether.

The picture below represents the advanced form normally:



This is the result after the code in my previous post:



In my previous post I forgot to show you the CssClass "hidden" which the JQuery function is calling. Hre it is:

<style type="text/css">
       .hidden
       {
           visibility: hidden;
       }
   </style>

Find the full code in the attached .zip file.

Please let me know if I got you right.

All the best,
Veronica Milcheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Vish
Top achievements
Rank 2
Answers by
Veronica
Telerik team
Vish
Top achievements
Rank 2
Share this question
or