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

3 posts, 1 answers
  1. ALBERT
    ALBERT avatar
    38 posts
    Member since:
    Dec 2010

    Posted 07 Mar 2011 Link to this post

    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. Answer
    Peter
    Admin
    Peter avatar
    6637 posts

    Posted 10 Mar 2011 Link to this post

    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!
  3. ALBERT
    ALBERT avatar
    38 posts
    Member since:
    Dec 2010

    Posted 10 Mar 2011 Link to this post

    thank you very much for your help, is just what I needed
Back to Top