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

Add a question at the time to stretch or move the reserve to which the user has the option

2 Answers 20 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
ALBERT
Top achievements
Rank 1
ALBERT asked on 07 Mar 2011, 11:17 PM
Add a question at the time to stretch or move the reserve to which the user has the option
to cancel the action before it happens confirmation.

that event and as I would.

thanks for your help

2 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 10 Mar 2011, 02:37 PM
Hi Albert,

Here is one possible solution:
<script type="text/javascript">
       function OnClientAppointmentMoveEnd(sender, args) {
           var answer = confirm("Move this appointment?")
           if (!answer)
               args.set_cancel(true);
       }
       function OnClientAppointmentResizeEnd(sender, args) {
           var answer = confirm("Resize this appointment?")
           if (!answer)
               args.set_cancel(true);
       }
   </script>
   <telerik:RadScheduler runat="server" ID="RadScheduler1" OnClientAppointmentMoveEnd="OnClientAppointmentMoveEnd"
       OnClientAppointmentResizeEnd="OnClientAppointmentResizeEnd">
   </telerik:RadScheduler>

Let us know if you need more help.


Best wishes,
Peter
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
ALBERT
Top achievements
Rank 1
answered on 10 Mar 2011, 02:52 PM
thank you very much for your help, is just what I needed
Tags
Scheduler
Asked by
ALBERT
Top achievements
Rank 1
Answers by
Peter
Telerik team
ALBERT
Top achievements
Rank 1
Share this question
or