|
WebGet psClientOnRender to StringVariable |
WebSet psClientOnRender to StringVariable/Value |
Get psClientOnRender to StringVariable |
Set psClientOnRender to StringVariable/Value |
Description
Set psClientOnRender to the name of a global JavaScript client-side event handler. This is a client-side only event that is triggered directly after the UI Object is rendered. This means that the DOM elements are created and are added to the DOM (Document Object Model).
Client-side events can be useful when you wish to perform some operation that does not require data or services from the server. Eliminating the need for a round-trip to the server also optimizes the performance of your web application.
Implementing a client-side event handler requires knowledge of JavaScript and the DataFlex Web Framework JavaScript engine.
For more information see Client-Side Events.
About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not
be changed during the lifetime of that object. To access that value, use the standard property
Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's
local value whenever a server call is being processed. To access the web property value,
use the WebGet and WebSet syntax
above instead of the standard Get and Set syntax.