Hi,
Do you use the TChromium.OnBeforeDownload event ?
Take a look at the MiniBrowser demo for a simple example of that event.
For more info about that event read this :
http://magpcss.org/ceforum/apidocs3/pro ... ndler.html
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
SQL Server Reporting Services (SSRS) issue
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: SQL Server Reporting Services (SSRS) issue
I can't test that button on a SSRS server but I just tested this web page with the MiniBrowser demo on a virtual machine which doesn't have any kind of Office suite installed and it downloads the DOCX when you click on the file name :
https://www2.le.ac.uk/Members/davidwick ... .docx/view
Please, try to download the "test.docx" file from the previous address with MiniBroser and your app.
https://www2.le.ac.uk/Members/davidwick ... .docx/view
Please, try to download the "test.docx" file from the previous address with MiniBroser and your app.
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: SQL Server Reporting Services (SSRS) issue
The "windowless_rendering" setting is not related to popup blocking.
To block popup windows you have to set "Result" to TRUE in the TChromium.OnBeforePopup event.
Many demos block popups and new windows checking the "targetDisposition" parameter. Take a look at the DOMVisitor demo (line 272)
https://github.com/salvadordf/CEF4Delph ... isitor.pas
You can block it and open the new URL in the same browser or download the DOCX file calling the TChromium.StartDownload function.
To block popup windows you have to set "Result" to TRUE in the TChromium.OnBeforePopup event.
Many demos block popups and new windows checking the "targetDisposition" parameter. Take a look at the DOMVisitor demo (line 272)
https://github.com/salvadordf/CEF4Delph ... isitor.pas
You can block it and open the new URL in the same browser or download the DOCX file calling the TChromium.StartDownload function.
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: SQL Server Reporting Services (SSRS) issue
I found this document :
https://docs.microsoft.com/en-us/sql/re ... g-services
Perhaps all your problems in this thread could be fixed if you register your app as a PDF viewer in the Windows registry.
https://docs.microsoft.com/en-us/sql/re ... g-services
Perhaps all your problems in this thread could be fixed if you register your app as a PDF viewer in the Windows registry.