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

How to make sure the Recurrence check box is always checked

4 Answers 136 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Amir
Top achievements
Rank 1
Amir asked on 05 Jan 2012, 05:47 AM
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;

4 Answers, 1 is accepted

Sort by
0
Amir
Top achievements
Rank 1
answered on 05 Jan 2012, 06:22 AM
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.
0
Peter
Telerik team
answered on 05 Jan 2012, 09:36 AM
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
0
Amir
Top achievements
Rank 1
answered on 06 Jan 2012, 12:24 AM
Thanks Peter, the articles did help, I was able to make the Recurrence Range Panel hidden.

0
Jose
Top achievements
Rank 1
answered on 20 Feb 2012, 05:57 PM

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

 

Tags
Scheduler
Asked by
Amir
Top achievements
Rank 1
Answers by
Amir
Top achievements
Rank 1
Peter
Telerik team
Jose
Top achievements
Rank 1
Share this question
or