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>

        

"Quality of products and support you guys provide is matchless. I’m very pleased with the service you guys provide and I want you to know that I’ll make sure all my programmer friends will know about your first-class company. "

Ion Despoiu
CB Mills, Division of Chicago Boiler