Previous Next

The before event may be called from web pages developed in Web Designer and processed by a USoft page engine service.


Applies to

Occurs when


Data source objects

Before any Page Engine action that involves the data source, eg., getDataSet().

The before event is raised as a consequence of the server handling Page Engine requests.


You can use the before event to show waitstates that you hide subsequently on the after event.

The before event is not suitable for blocking or preventing the Page Engine action under specific conditions. For this purpose, use specific before... events instead, such as beforecheckdata.

How to use

Find or create an Event Listener object with Event Type = before. Event Listeners are in the Web Designer Controls catalog:


Insert the event listener into the data source object. Insert a callClientScript action into the event listener. Use this action's Script property to code the behaviour that you want to see when the event occurs.