![Smile :)](./images/smilies/icon_e_smile.gif)
I'm using CefSharp.WinForms
I navigate to a page and then I click on a link for to download a PDF file.
I see that CefSharp open a built-in PDF viewer and I can do some actions. All OK.
But now I want to change this and I want to download this PDF file for then open it with my PDF reader.
So, I add
- Code: Select all
settings.CefCommandLineArgs.Add("disable-pdf-extension", "1")
Well, now I implement IDownloadHandler class with Before and Updated events so I can save this PDF file where I want.
It works very well, PDF is downloaded correctly and I see it with other reader,
but my problem is that CefSharp open his reader and show me a window all white without nothing inside it, and the user needs to close it.
How can I do that this window don't open ??
Many thanks
Sergio