after

  • 2 August 2022
  • 0 replies
  • 63 views

This article is about the after UDB event handler.

after

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

Event Applies to Occurs when
after
Data source objects After any Page Engine action that involves the data source, eg., getDataSet(), has been completed.

The after event is raised as a consequence of the server handling Page Engine requests. This contrasts with the afterrender event, which is related to UI (ie., non‑server) events.

Purpose

You can use the after event to hide waitstates that you have started showing on the before event.

How to use

Find or create an Event Listener object with Event Type = after. 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.


0 replies

Be the first to reply!

Reply