Table of Contents

Property AlertHandler

Namespace
DotNetBrowser.Browser.Dialogs
Assembly
DotNetBrowser.dll

AlertHandler

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

IHandler<AlertParameters> AlertHandler { get; set; }

Property Value

IHandler<AlertParameters>

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.

Exceptions

ObjectDisposedException

The IBrowser has already been disposed.

ConnectionClosedException

The connection to the Chromium engine is closed.