Radconfirm when deleting a recurrence appointment

1 posts, 0 answers
  1. Jully
    Jully avatar
    1 posts
    Member since:
    Jul 2010

    Posted 12 Feb 2011 Link to this post

        When deleting a recurrence appointment, I want to pop up another confirmation dialog before pop up the original delete confirmation dialog using OnClientAppointmentDeleting event.

    <telerik:RadScheduler  ID="uxTimeOfDayRadScheduler" ..  

    uxTimeOfDayRadScheduler_OnClientRecurrenceActionDialogShowing(sender, eventArgs){
        if (eventArgs.get_recurrenceAction() == 2) {
    a confirmation window     
        var confirmMessage = 
    "Deleting this appointment may affect other scripts. Do you want to delete this appointment?";     
            function (arg)
                if (arg)
    330, 100, null, 'Delete Appointment');

    But, when on the OnClientAppointmentDeleting event, I put a radconfirm, it doesn't wait for an answer from the client and pop up the original delete confirmation dialog before I could choose.

    I tried to call set_cancel(true) before calling my own radconfirm, but if I call set_cancel(false) after clicked 'ok' in my own radconfirm, it doesn't pop up the original delete confirmation dialog. Can anyone Help ?

Back to Top