Click or drag to resize

IJsDialogsAlertHandler Property

Gets or sets a handler that is used when JavaScript alert dialog should be displayed.

Namespace:  DotNetBrowser.Browser.Dialogs
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.7
Syntax
C#
IHandler<AlertParameters> AlertHandler { get; set; }

Property Value

Type: IHandlerAlertParameters
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IBrowser has already been disposed.
ConnectionClosedExceptionThe connection to the Chromium engine is closed.
Remarks

In this callback you can display standard modal dialog with the message that you can get from AlertParameters.

Please note that it is not necessary to display a dialog in this handler.

See Also