ClientStart event

Official Content
This documentation is valid for:

Defines a set of actions to be performed when the object starts running. It is a Client-side Event that takes place before the Server Events (Start, Refresh and Load). 

As it is a Client-side Event, the possibilities and limitations are the same that on any other Client-side Event.

Important: To initialize the application layout it is recommended to use Navigation Start Events instead of ClientStart Event because this may have non-desired behaivours for some Navigation Styles.

Syntax

Event ClientStart
        Event_code
EndEvent

Where:
Event_code
   Code associated to the event. 

The object parameters are available on this event.

The variables of this event are available for the rest of the events (i.e.: you can have a grid filtered by a variable asigned in the ClientStart Event).

This event is executed ALWAYS regardless of the specified security schema.

Examples

If you need to know the user's geolocation before loading the panel, you could call the Geolocation API:

Event ClientStart
       &DeviceLocation = GeoLocationAPI.GetMyLocation(10,10,true,true)
EndEvent

Scope

Objects  SDPanelMenu object

See Also

Event Triggering Order in Panels