PageLeaveCheckEvent Class
Assembly: EPiServer.Cms.AspNet (in EPiServer.Cms.AspNet.dll) Version: 11.5.1.0 (11.5.1.0)
Syntax:
C# |
---|
public class PageLeaveCheckEvent : EventBase |
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.
Methods
Properties
Name |
Summary |
Status |
EventType
|
The client side event for which the event is triggered. |
public
|
PageLeaveMessage
|
The message shown when a user leaves a page with unsaved changes |
public
|
Inheritance