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

Can I disable the 'delete a recurring appointment' popup

3 Answers 38 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Bex
Top achievements
Rank 1
Bex asked on 31 Jul 2012, 10:02 AM
Hi

I want to disable the 'delete a recurring appointment' popup (the one that asks whether they want to delete the series or the occurrence), instead I want to show an "Are you sure you want to delete...."
Due to the way I am using the scheduler I don't want to give the user the option of what to do with an appointment, I want to handle it my self.

I have tried setting DisplayDeleteConfirmation="False" but this only works with single occurrence appointments, the recurring ones still show.

Is there an event I can hook into to stop it displaying?

Bex

3 Answers, 1 is accepted

Sort by
0
Bex
Top achievements
Rank 1
answered on 02 Aug 2012, 10:15 AM
Has any one got any ideas on this one?
I'm capturing both event's which ever is clicked but it's really not ideal!
0
Plamen
Telerik team
answered on 03 Aug 2012, 07:57 AM
Hi Bex,

 
You can chose which option you want us the OnClientRecurrenceActionDialogShowing as it is shown in this help topic and add the desired confirmation as in the code below:

function OnClientRecurrenceActionDialogShowing(sender, eventArgs)
   {
       eventArgs.set_cancel(true);  
       //Edit this instance only:  
       //eventArgs.set_editSeries(false);  
      
       //Edit the entire series:  
       if (confirm("do you ..?")) {
      eventArgs.set_editSeries(true);
}

Hope this will be helpful.

Greetings,
Plamen
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
Bex
Top achievements
Rank 1
answered on 03 Aug 2012, 09:17 AM
Thank you Plamen  that's fantastic.
Tags
Scheduler
Asked by
Bex
Top achievements
Rank 1
Answers by
Bex
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or