| |
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>
| | |
| "You guys are the best! Thank you, you're making our lives much more easier." |
Bronida Tarutin |
|
| | |
|
|
|
|