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>

        

"One thing I should say is.. this is the fastest Tree control I’ve ever used. Great Work!"

Sri Shyamalangan

Random testimonial   All testimonials