ButtonClicking

Description

Occurs when the user clicks a button. This event occurs before the ButtonClicked event.

Argument

Description

sender

String. Identifier for the button the user clicked.

row

Number. The number of the current row when the user clicked the button.

objectName

String. The name of the control within the DataWindow under the pointer when the user clicked.

Applies to

Web DataWindow client control

Returns

Set the return code to affect the outcome of the event:

Usage

Use the ButtonClicking event to execute code before the action assigned to the button occurs. If the return code is 0, the action assigned to the button is then executed and the ButtonClicked event is fired. If the return code is 1, the action and the ButtonClicked event are inhibited.

NotePostback calls to the ButtonClicking server-side event The corresponding server-side event can be triggered by the following default event handlers: PBDataWindow_ButtonClicked, PBDataWindow_ButtonClicking, PBDataWindow_Clicked, and PBDataWindow_DelayedClicked.

This event is fired only if you have not selected Suppress Event Processing for the button.

The Clicked event is fired before the ButtonClicking event.

See also