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

Hiding Recurrence Dialog

6 Answers 181 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Rhys
Top achievements
Rank 1
Rhys asked on 29 Sep 2008, 08:40 PM
I have a Scheduler where I need to disable the Recurrence Dialog when the User Clicks on an Appointment to edit it.  I still want to show the edit dialog but not the "Do you want to edit this instance or all instances" of Appointment dialog. 

Thanks!
Rhys

6 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 30 Sep 2008, 09:11 AM
Hello Rhys,

You can handle the RecurrenceActionDialogShowing client-side event to prevent the dialog from showing and to set it's result.

function OnClientRecurrenceActionDialogShowing(sender, eventArgs) 
   { 
       args.set_cancel(true);    
       //Edit this instance only:    
       //args.set_editSeries(false);    
               
       //Edit the entire series:    
       args.set_editSeries(true); 
   }         


For more details:
http://www.telerik.com/help/aspnet-ajax/schedule_clientsideonclientrecurrenceactiondialogshowing.html

Regards,
Tsvetomir Tsonev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Rhys
Top achievements
Rank 1
answered on 01 Oct 2008, 09:31 PM
Hi,

Thanks, it worked like a charm.  Just FYI, you may want to check the code at http://www.telerik.com/help/aspnet-ajax/schedule_clientsideonclientrecurrenceactiondialogshowing.html.

In the function it has args.set_cancel(true) where it should be eventArgs.set_cancel(true).

Thanks again for all your help!

~Rhys
0
T. Tsonev
Telerik team
answered on 02 Oct 2008, 06:04 AM
Hello Rhys,

Great. Thanks for the heads up.

Regards,
Tsvetomir Tsonev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jose
Top achievements
Rank 1
answered on 18 Feb 2012, 01:13 AM

My questions is I would like to know if you can hide the recurrence check box altogether?

Thank you

J

0
Plamen
Telerik team
answered on 20 Feb 2012, 05:42 PM
Hello,

 
You can set the EnableRecurrenceSupport="false" property of RadScheduler.

Hope this will help.

Regards,
Plamen Zdravkov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Jose
Top achievements
Rank 1
answered on 20 Feb 2012, 05:55 PM

Worked like a charm. Thank you very much!

Tags
Scheduler
Asked by
Rhys
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Rhys
Top achievements
Rank 1
Jose
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or