IBrowser.CreatePopupHandler Property |
Namespace: DotNetBrowser.Browser
IHandler<CreatePopupParameters, CreatePopupResponse> CreatePopupHandler { get; set; }
Exception | Condition |
---|---|
ObjectDisposedException | The IBrowser has already been disposed. |
Use the Create() method to let the browser to create a new popup.
Use the Suppress() method to suppress popup.
If an exception occurs inside the handler implementation, the default behavior will be applied - the method Suppress() will be used.
Important: the engine will be blocked until you return control from the callback.