Replies: 1 comment 2 replies
-
Firstly I'd suggest ignoring // Don't display an error for downloaded files.
if (args.ErrorCode == CefErrorCode.Aborted)
{
return;
}
Have you added a break point and checked what error code is being sent the second time? Sounds like your speculating rather than you've actually debugged and know for sure what's going on.
This is the approach I recommend and use. Just don't update your See #2985 for a discussion of the limitations of using |
Beta Was this translation helpful? Give feedback.
-
I am using: WinForms/ Lang C# / CefSharp 86 / VS2019
I am trying to show an error when the request fails, according to the examples.
But this code doesn't work. On error, the browser goes into an infinite loop. It seems to me that LoadHtml itself raises an error again and circle is closed.
What to do and how to show the error correctly?
I've also tried using LoadHtml (html, base64) and it works, but the problem is the url gets ugly.
Is there any solution to load the error from FailedUrl?
Beta Was this translation helpful? Give feedback.
All reactions