Hiding Occurrences in Recurrence Editor

4 posts, 0 answers
  1. Vish
    Vish avatar
    15 posts
    Member since:
    May 2009

    Posted 28 Jul 2010 Link to this post

    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
  2. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 02 Aug 2010 Link to this post

    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
  3. Vish
    Vish avatar
    15 posts
    Member since:
    May 2009

    Posted 04 Aug 2010 Link to this post

    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
  4. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 04 Aug 2010 Link to this post

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