Table of Contents

Property RepostFormHandler

Namespace
DotNetBrowser.Browser.Dialogs
Assembly
DotNetBrowser.dll

RepostFormHandler

Gets or sets a handler that is used when a web page with POST data is going to be reloaded and the user must confirm that the POST data can be resubmitted.

IHandler<RepostFormParameters, RepostFormResponse> RepostFormHandler { get; set; }

Property Value

IHandler<RepostFormParameters, RepostFormResponse>

Remarks

You can use this handler to display a confirmation dialog where you ask the user whether the web page can be reloaded or not.

Use the Repost() method to allow resubmitting POST data.

Use the Cancel() method to cancel the page reloading.

If the handler throws an exception, the Repost() method method will be used.

Exceptions

ObjectDisposedException

The IBrowser has already been disposed.

ConnectionClosedException

The connection to the Chromium engine is closed.