DoubleClicked

Description

Occurs when the user double-clicks anywhere in a DataWindow control.

Argument

Description

sender

String. Identifier for the client-side control.

row

Number. The number of the row the user double-clicked.

objectName

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

Applies to

Web DataWindow client control

Returns

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

Usage

When the user double-clicks on a DataWindow button, the DoubleClicked event occurs before the ButtonClicking event. When the user double-clicks anywhere else, the DoubleClicked event occurs when the mouse button is released.

NotePostback calls to the DoubleClicked server-side event The corresponding server-side event can be triggered by the following event handlers: PBDataWindow_DoubleClicked, PBDataWindow_DelayedClicked, and PBDataWindow_DelayedClickedDifferent Row.

Examples

Example 1

This script in an .aspx file submits the value of the selected row in the DataWindow to the server:

function objdwCustomers_DoubleClicked(sender,   rowNumber, objectName) {
	document.Form1.rownum.value = rowNumber;
	document.Form1.submit();
}

See also