Table of Contents
WebView.JSDialog Event

Occurs when the browser engine needs to display a JavaScript dialog.

Syntax
 public event JSDialogEventHandler JSDialog;
Event Data

The event handler receives an argument of type JSDialogEventArgs containing data related to this event. The following JSDialogEventArgs properties provide information specific to this event.

Name Description
AutoCancel Gets or sets a value indicating whether to automatically cancel the JavaScript dialog if needed.
DefaultPromptText Gets the default prompt text when the DialogType is Prompt.
DialogType Gets the type of the dialog.
MessageText Gets the message text.
OriginUrl Gets the Url of the page that displays this dialog.
Remarks

See here for more information on how to customize JavaScript dialog.

See Also