We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
How can I hide the current browser when a "Save as" dialog appears ?
My Code:
private class DownloadHandler : IDownloadHandler {
public void OnBeforeDownload(IBrowser browser, DownloadItem downloadItem, IBeforeDownloadCallback callback) { if (!callback.IsDisposed) { using (callback) { callback.Continue(downloadItem.SuggestedFileName, showDialog: true); } } } public void OnDownloadUpdated(IBrowser browser, DownloadItem downloadItem, IDownloadItemCallback callback) { if (downloadItem.IsComplete || downloadItem.IsCancelled) { browser.GetHost().CloseBrowser(true); } } }
The text was updated successfully, but these errors were encountered:
There is nothing directly in CefSharp, it is only a browser control remember. You would need to pass a reference to your Form or Window.
CefSharp
Form
Window
Sorry, something went wrong.
@epyweb Any follow up on this one?
Closing due to lack of feedback.
No branches or pull requests
Hi,
How can I hide the current browser when a "Save as" dialog appears ?
My Code:
private class DownloadHandler : IDownloadHandler
{
The text was updated successfully, but these errors were encountered: