Events and Actions |
An event handler affects when the event is triggered. A well known example is the standard onclick event handler placed under a button, but onclick event handlers may be placed on any control and they may even be placed at window level, where every click will trigger this event handler. Some event types are only valid for a specific object, like ongetdataset for a data source. Event Types
You can choose all W3C standard HTML event types. There is one exception and that is onbeforesubmit: As USoft does not post any forms in pages, event handlers of this type will never trigger. See http://www.w3.org for more information on W3C standards.
In addition, some USoft specific events are raised at certain moments. All event types are case insensitive. It is also possible to define your own event type, and explicitly trigger that type using the handleEvent() function. If an event of a certain type takes place, a USoft action can be performed. Multiple actions should be combined in one callClientScript action together with appropriate JavaScript. Related Topics: |