Enum EventType

Client-side events which the ScriptManager can attach listeners for

Namespace: EPiServer.ClientScript
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public enum EventType

Fields

Name Description
BeforeUnload

The beforeunload event occurs when unload event is raised and provides a way to prevent the unload.

Blur

The blur event occurs when an element or window loses focus.

Change

The change event occurs when a control loses the input focus and its value has been modified since gaining focus.

Click

The click event occurs when a mouse button is clicked.

ContextMenu

The contextmenu event occurs when the user calls up a context menu.

DblClick

The dblclick event occurs when the user quickly clicks the mouse twice.

DragDrop

The dragdrop event occurs when a system item (file, shortcut, etc) is dropped into the window.

Focus

The focus event occurs when an element or window receives focus. Not all elements can get focus.

KeyDown

The keydown event occurs when a user presses a keyboard key.

KeyPress

The keypress event occurs when a user presses a key on the keyboard.

KeyUp

The keyup event occurs when a user releases a key that's been pressed.

Load

The load event occurs at the end of the document loading process when all images and sub content has been loaded.

MouseDown

The mousedown event occurs when a mouse button is pressed.

MouseMove

The mousemove event occurs whenever the mouse is moved.

MouseOut

The mouseout event occurs when the mouse leaves the current element (specified by it's boundary points).

MouseOver

The mouseover event occurs when the mouse is within the current elements boundary points.

MouseUp

The mouseup event occurs when the user releases the mouse button

None

No event

ReadyStateChange

The readystatechange event occurs when the readystate of a request changes.

Resize

The resize event occurs when an element or document view is resized.

Scroll

The scroll event occurs when a windows scroll position is changed.

Select

The select event occurs when some text is selected in a text field.

Submit

The submit event occurs when a form is submitted.

Unload

The unload event is raised when the document is unloaded.

Extension Methods