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

Post Reply
User avatar
salvadordf
Posts: 4056
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: SQL Server Reporting Services (SSRS) issue

Post 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
User avatar
salvadordf
Posts: 4056
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: SQL Server Reporting Services (SSRS) issue

Post 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.
User avatar
salvadordf
Posts: 4056
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: SQL Server Reporting Services (SSRS) issue

Post 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.
User avatar
salvadordf
Posts: 4056
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: SQL Server Reporting Services (SSRS) issue

Post 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.
Post Reply