Dev Express Xtra Report Print button not working in Chrome - javascript

When I click on the print button it doesn't pop up print dialog box. Instead of it shows an error message saying "ERR_CONNECTION_RESET" .This print functions works properly on localhost.Please refer the screen shot for the further information.
My devExpress Version is 15.2.15.0

This bug seems to be related to the Chrome browser's PDF viewer specifics. To resolve this issue, disable Chrome's built-in PDF viewer and use the Adobe PDF viewer instead.
Go to chrome://settings/content/pdfDocuments (open pdf using different application)

Related

Microsoft Edge PDF Viewer Extension Location

I am interested in messing with the built-in PDF viewer of Microsoft Edge. I know you can inspect its files in the Dev console, but I would like to know where these files are actually located so I can change them to alter/add some functionality.
Another possibility would be to run a user script when a PDF is loaded, but tampermonkey does not seem to work when a PDF file is opened in Edge.
Why I want to do this: I would like to see whether I can implement additional functions that I'd like to use in the PDF viewer. I know there are pdf js libraries out there, but I feel like none of them display pdfs as nicely as Edge does and I haven't found one that allows drawing on pdfs.
You can see the edge_pdf source code by inspect the page ,then click the Source panel, it show all the resource which edge_pdf loaded.

Google viewer is opening blank page frequently

Why Google Viewer sometimes is opening a blank page instead of open the PDF file?
I could simulate it using this code. It doesn't happen every time. It will be necessary to click on the Google Viewer button few times.
I could simulate it on Edge and Chrome.
Pay attention to the two tabs after the tab title "Sem títlulo". They opened the PDF file perfectly. However, the tab with the title "Sem título" did not open the PDF.
EDIT
I'm using google docs viewer https://docs.google.com/viewer.
I try to test your code on the MS Edge legacy browser, MS Edge (Chromium) browser, Google Chrome browser, and Firefox browser.
I can reproduce the issue on all 4 browsers. So we can say that this is not a specific browser related issue.
I noticed that you are using Google docs viewer to display the PDF.
https://docs.google.com/viewer?
I try to display the PDF directly in the browser and found that it is working fine in every browser.
Test code:
Click to open PDF
Here is the test results in MS Edge (Chromium) browser.
So it looks like there is some issue with the Google docs viewer. You can try to provide feedback to Google about this issue.
To fix the issue in your code, you can try to directly display the PDF file as I show you in my sample code. You can notice that performance is also better.

Blank URL box appears in the footer section of Google Chromium Print PDF Preview in Raspberry Pi

In the above picture there is an empty Http text box appearing in the footer section of the PDF Print Preview Dialog Box. This happens only when we try to take a print using Raspberry Pi's Chromium browser. This doesn't happen when we use Google Chrome from Ubuntu or any other OS. I have also disabled the Headers and footers option from the print dialog box and still this didn't go. I tried to find the fix to this issue online but could not find any. Any Help would be appreciated. Regards.
For anyone who gets this error in future, I have figured out the answer to this issue. I was getting this error because I had installed Virtual Keyboard on Chromium. Uninstalling the virtual keyboard removes the blank URL box from Print PDF Preview.

Need help saving developer tools log

I opened a developer tools in the middle of running JS and found behavior is I to save for in depth analysis. Is there any way I can save the complete information in all of the developer tools screen?
Assuming that you're talking about Chrome Dev Tolls, if you want to save the information in the Console, just right click any blank space in the Console an choose 'Save As'.
If you need to save the information in the Performance section, there's a Save Profile button (with an arrow down icon) in the top, you can save a JSON with all the information.
And there's another cool way you can debbug your Javascript code with Chrome Dev Tools: you can stablish breakpoints in your code. This article here explain how you can do it with an nice example.

How to remove the extension icon from the extensions bar?

I am working on a chrome extension and I have tried almost everything to get feedly mini toolkit like user interface. Feedly: read more, know more.
This provides an extension feedly mini toolkit, which gets integrated into the browser as shown in image.
I want to do something like that with my extension. I dont want to show it in chrome setting/extension bar but on a particular page like feedly.
The Question is: How to create something like feedly mini toolkit shown in the red box in the image which is there on a browser page and not in the chrome settings bar.
You need to remove the browserAction field from your manifest.json file.

Categories