Click or drag to resize

IDialogsRepostFormHandler Property

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.

Namespace:  DotNetBrowser.Browser.Dialogs
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.4
Syntax
C#
IHandler<RepostFormParameters, RepostFormResponse> RepostFormHandler { get; set; }

Property Value

Type: IHandlerRepostFormParameters, RepostFormResponse
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IBrowser has already been disposed.
ConnectionClosedExceptionThe connection to the Chromium engine is closed.
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.

See Also