JsDialogHandler Methods |
The JsDialogHandler type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnBeforeUnloadDialog |
Called to run a dialog asking the user if they want to leave a page. Return false to use the default dialog implementation.
Return true if the application will use a custom dialog or if the callback has been executed immediately.
Custom dialogs may be either modal or modeless. If a custom dialog is used the application must execute callback
once the custom dialog is dismissed.
| |
OnDialogClosed |
Called when the default implementation dialog is closed.
| |
OnJSDialog |
Called to run a JavaScript dialog.
| |
OnResetDialogState |
Called to cancel any pending dialogs and reset any saved dialog state. Will
be called due to events like page navigation irregardless of whether any
dialogs are currently pending.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |