Occurs when the current item in the control changes.
Argument |
Description |
---|---|
sender |
String. Identifier for the client-side control. |
row |
Number. The number of the row containing the item that has just gained focus. |
columnName |
String. The name of the column containing the item. |
Web DataWindow client control
There are no special outcomes for this event. The only code is:
0 Continue processing
ItemFocusChanged occurs when focus is set to another column in the DataWindow, including when the DataWindow is first displayed. The row and column together uniquely identify an item in the DataWindow.
In Web Forms targets, once a DataWindow loses focus and a postback event is triggered, the DataWindow loses memory of its current column. If the same cell regains the focus, the ItemFocusChanged event is triggered because the current column is lost after the page posts back to the client.
Postback calls to the server-side ItemFocusChanged event The corresponding server-side event can be triggered by the following event handler: PBDataWindow_ItemFocusChanged.