How to make sure the Recurrence check box is always checked

5 posts, 0 answers
  1. Amir
    Amir avatar
    8 posts
    Member since:
    Jan 2011

    Posted 04 Jan 2012 Link to this post

    Hi;

    I am trying to create a custom scheduler modules for our application, I only want to user the RadSchedulerRecurrenceEditor as you can see in the following code snippet and the image provided. I need to make sure that the Recurrence check box is always checked and its visibility is set to hidden, however I have not been able to come up with a solution to this issue yet. Would you please help me with this issue as I need to get started on this development soon. 

    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
     
    <asp:Panel ID="pnlDefaultButtonSupport" runat="server" DefaultButton="btnOk">
     
    <fieldset class="noborder" style="width: 780px;">
            <telerik:RadSchedulerRecurrenceEditor runat="server" ID="rscr">
        </telerik:RadSchedulerRecurrenceEditor>  
    </fieldset>
     
    <div class="ActionContainerNoBottom" style="width: 780px">
        <asp:Button ID="btnOk" runat="server" Text="Save" SkinID="CommandButton"/>  
        <asp:Button ID="btnClose" runat="server" Text="Close" PostBackUrl="javascript:GetRadWindow().close();" SkinID="CommandButton" CausesValidation="false"/>
    </div>
    </asp:Panel>

    Thanks;
  2. Amir
    Amir avatar
    8 posts
    Member since:
    Jan 2011

    Posted 05 Jan 2012 Link to this post

    sorry guys correction, I need to know how can I make that check box either hidden or disabled so users can not Un-check it.
  3. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 05 Jan 2012 Link to this post

    Hi Amir,

    There is a couple of handy help articles on customizing the advanced form which will help you get started with this task:

    Handling FormCreated -> section on 'Make changes in the recurrence editor'

    Using javascript/jQuery and CSS - > sections on 'Hide the "no end date" option in the recurrence panel' and    'Hide the "hourly" option and the first two days for the "weekly" option in the recurrence panel'


    Kind regards,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  4. Amir
    Amir avatar
    8 posts
    Member since:
    Jan 2011

    Posted 05 Jan 2012 Link to this post

    Thanks Peter, the articles did help, I was able to make the Recurrence Range Panel hidden.

  5. Jose
    Jose avatar
    13 posts
    Member since:
    May 2009

    Posted 20 Feb 2012 Link to this post

    I found a faster and easier way. Just set the EnableRecurrenceSupport="false" property of the RadScheduler.
    Worked like a charm!

     

Back to Top