Glossary Item Box
Most part of AspLib components has different client events. Client-Side events editor is used to edit them. Client-side events editor lets you define any client-side event for any AspLib control as easy as it can be.
Context help will tell you event usage and its properties.
If you need to stop any event, return false.
Event and args objects are sent to the function during the call of a client event.
The following args properties provide information specific to this event. This object always contains next properties:
| Property | Description |
| ClientID | ClientID of the control to which this event belongs |
| UniqueID | UniqueID of the control to which this event belongs |
The following event properties are available (it's standard window.event object):
| Property | Description |
| altKey | Sets or retrieves a value that indicates the state of the ALT key. |
| altLeft | Sets or retrieves a value that indicates the state of the left ALT key. |
| cancelBubble | Sets or retrieves whether the current event should bubble up the hierarchy of event handlers. |
| clientX | Sets or retrieves the x-coordinate of the mouse pointer's position relative to the client area of the window, excluding window decorations and scroll bars. |
| clientY | Sets or retrieves the y-coordinate of the mouse pointer's position relative to the client area of the window, excluding window decorations and scroll bars. |
| ctrlKey | Sets or retrieves the state of the CTRL key. |
| ctrlLeft | Sets or retrieves the state of the left CTRL key. |
| offsetX | Sets or retrieves the x-coordinate of the mouse pointer's position relative to the object firing the event. |
| offsetY | Sets or retrieves the y-coordinate of the mouse pointer's position relative to the object firing the event. |
| screenX | Retrieves the x-coordinate of the mouse pointer's position relative to the user's screen. |
| screenY | Sets or retrieves the y-coordinate of the mouse pointer's position relative to the user's screen. |
| shiftKey | Sets or retrieves the state of the SHIFT key. |
| shiftLeft | Retrieves the state of the left SHIFT key. |
| srcElement | Sets or retrieves the object that fired the event. |
| type | Sets or retrieves the event name from the event object. |
| x | Sets or retrieves the x-coordinate, in pixels, of the mouse pointer's position relative to a relatively positioned parent element. |
| y | Sets or retrieves the y-coordinate, in pixels, of the mouse pointer's position relative to a relatively positioned parent element. |
| clientX | Sets or retrieves the x-coordinate of the mouse pointer's position relative to the client area of the window, excluding window decorations and scroll bars. |
| clientY | Sets or retrieves the y-coordinate of the mouse pointer's position relative to the client area of the window, excluding window decorations and scroll bars. |
| ctrlKey | Sets or retrieves the state of the CTRL key. |
| See Also |
Client-side API: Editor client-side API | InputDate client-side API | TabControl client-side API