Page 1 of 1
Re: SQL Server Reporting Services (SSRS) issue
Posted: Mon Mar 26, 2018 3:58 pm
by salvadordf
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
Re: SQL Server Reporting Services (SSRS) issue
Posted: Tue Mar 27, 2018 2:48 pm
by salvadordf
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.
Re: SQL Server Reporting Services (SSRS) issue
Posted: Wed Mar 28, 2018 6:03 pm
by salvadordf
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.
Re: SQL Server Reporting Services (SSRS) issue
Posted: Fri Apr 06, 2018 3:08 pm
by salvadordf
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.