The EPiServer.ClientScript.Events namespace contains implementation of client script events managed by server-side code.
Classes
| Class | Description | |
|---|---|---|
| AlertEvent |
Displays a client side alert box for when the specified event occurs on the target control
| |
| ConfirmEvent |
Displays a client side confirmation dialog a client event
| |
| CustomEvent |
Abstract base class for client side event handlers
| |
| DisablePageLeaveEvent |
DisablePageLeaveEvent is used to suppress the warning shown by PageLeaveCheckEvent
when a page containing changed input fields is about to be unloaded.
| |
| EventBase |
Abstract base class for client side event handlers
| |
| PageLeaveCheckEvent |
Attaches to the window load event of the client and initializes change listeners for input fields.
If input fields has changed when the page is about to be unloaded a confirm dialog is shown to notify the user about unsaved changes.
By using the DisablePageLeaveEvent event the leave dialog can be supressed.
| |
| ReloadPageEvent |
Registers a client side event that reloads the page in the specified window when the event occurs.
| |
| SetFocusEvent |
This event is used to give a control focus and/or select the controls text content.
| |
| ToggleDisplayEvent |
Displays a client side confirmation dialog a client event
|