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

While deleting appointment hide the confirmation dialog

1 Answer 43 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Hrushikesh Mokashi
Top achievements
Rank 1
Hrushikesh Mokashi asked on 20 Oct 2008, 09:43 AM
Hi All,

I am using RadScheduler.

I set the proprty 'DisplayDeleteConfirmation' property to False.

I don't want any conformation dialog so i have added the following function
in javascript on its client event 'OnClientRecurrenceActionDialogShowing'


function OnClientRecurrenceActionDialogShowing(sender, eventArgs) {
                 if (eventArgs.get_recurrenceAction() != 2)
               eventArgs._cancel = true;

           }

In apove condition it shows the confirmation dialog ,when click on ok then it goes to serverside event.

Issue.

When i click on delete button of appointment , i don't want to show confirmation dialog .
It should directly execute the serverside appointmentdelete event.

Thanks

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 20 Oct 2008, 11:01 AM
Hi Hrushikesh,

Setting DisplayDeleteConfirmation="false" is sufficient to avoid the confirmation dialog. However, when dealing with recurring appointments, the RecurrenceActionDialog has to be shown to allow the user to select whether to edit/delete the series or just the occurrence.     


Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
Hrushikesh Mokashi
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or