ASPxClientListBox.KeyDown Event
Occurs on the client side when an end-user presses a key while the editor has focus.
Declaration
KeyDown: ASPxClientEvent<ASPxClientEditKeyEventHandler<ASPxClientListBox>>
Event Data
The KeyDown event's data class is ASPxClientEditKeyEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
htmlEvent | Gets a DHTML event object that relates to the processed event. |
Remarks
The editors’ client-side functionality provides the capability to respond to end-user key presses and releases. Each time an end-user presses a key while an editor has focus, the KeyDown event fires. This event can be handled to implement custom processing of the pressed key.
Using the ASPxClientEditKeyEventArgs.htmlEvent property of the event’s argument, you can obtain the necessary information related to the pressed key (such as its key code, the modifier key pressed, etc).
See Also