ASP.NET Scheduler - How to disable update event

This example will show you how to disable the update event action of users. The example will use OnClientBeforeUpdateEvent to catch and approve the update event action.

*Note: This method is simple and fast way to handle events. However, for handling event more securely, you may use server-side event such as OnBeforeUpdateEvent.


Please try to move those events in Scheduler below:




Simple code
          <osd:Scheduler ID="schedule" ...
               OnClientBeforeUpdateEvent = "beforeUpdate"

               .... >

          </osd:Scheduler>

          <script type="text/javascript">
             function beforeUpdate(sender,arg)
             {
               arg.UpdateEventCancel = true;
             }
          </script>

        

"Your response is quick and clear - Keep it up - Great team. And also thanks about your product - I am very much impressed with all your products. Your help and how to is much better and satisfy most of my doubts - good work."

Muthukumar N.

Random testimonial   All testimonials