Cefsharp LoadError is triggered before the download is complete #3692
NaveenK-Philips
started this conversation in
General
Replies: 1 comment 7 replies
-
And what is the error code? If the error is Aborted then this is expected. Just ignore the Aborted error. if (args.ErrorCode == CefErrorCode.Aborted)
{
return;
} |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
HI,
Facing one issue.
Cefsharp LoadError is triggered before the download is complete. what is the issue?
Here is the code.
DownloadHandler:
var folderBrowser = new FolderBrowserDialog();
folderBrowser.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
LifeSpanHandler:
public bool OnBeforePopup(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, string targetUrl, string targetFrameName, WindowOpenDisposition targetDisposition, bool userGesture, IPopupFeatures popupFeatures, IWindowInfo windowInfo, IBrowserSettings browserSettings, ref bool noJavascriptAccess, out IWebBrowser newBrowser)
{
browser.MainFrame.LoadUrl(targetUrl);
newBrowser = null;
return true;
}
Beta Was this translation helpful? Give feedback.
All reactions