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

Hide the recurrence check box altogether

3 Answers 120 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jose
Top achievements
Rank 1
Jose asked on 18 Feb 2012, 01:16 AM

I have a requirement in which I need to hide the recurrence check box form the Edit Appointment dialog. I wonder if this is possible

Thank you

J

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 20 Feb 2012, 07:23 AM
Hello,

Take a look into this forum thread which discussed the same.

Thanks,
Princy.
0
Jose
Top achievements
Rank 1
answered on 20 Feb 2012, 05:19 PM

Thank you very much. That is exactly what I was looking for

protected void RadMasterScheduler_FormCreated(object sender, SchedulerFormCreatedEventArgs e)

{

   if (e.Container.Mode == SchedulerFormMode.AdvancedEdit)

     {

            var recurrenceEditor = e.Container.FindControl("RecurrenceEditor") as RecurrenceEditor;

            var recurreceCheckbox = (CheckBox) recurrenceEditor.FindControl("RecurrentAppointment");

            recurreceCheckbox.Style.Add("visibility", "hidden");

     }

 

}

0
Jose
Top achievements
Rank 1
answered on 20 Feb 2012, 06:00 PM

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

Tags
Scheduler
Asked by
Jose
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Jose
Top achievements
Rank 1
Share this question
or