Skip to main content

ASPxClientCalendar.KeyPress Event

Occurs on the client-side when an end-user presses and releases a key while the editor has focus.

Declaration

KeyPress: ASPxClientEvent<ASPxClientEditKeyEventHandler<ASPxClientCalendar>>

Event Data

The KeyPress 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 key presses and releases made by end users. Each time an end-user presses and releases a key while an editor has focus the KeyPress event fires. This event can be handled to implement custom processing of a key being pressed and released.

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