Ticket T846108
Visible to All Users

XtraReports not printing after Crome 76 update

created 5 years ago

We are using XtraReport MVC viewer for previewing the report. We have experienced problems with print after Chrome 76 Update.

I have found the solution provided by Yaroslav in https://www.devexpress.com/Support/Center/Question/Details/T814122/aspxdocumentviewer-print-report-button-does-not-work-after-google-chrome-update-76-0  I have tried to patch report viewer as was suggested in the issue above but the fix does not work as expected.

When I initiate printing, it tries to print HTML preview version (notice the URL is being added to footer by the browser) instead of printing PDF version. Save to PDF functionality is working fine.

How can I initiate PDF printing from the toolbar without upgrading all DevExpress libraries?

Comments (1)
Yaroslav (DevExpress Support) 5 years ago

    Hi Rune,
    >>I have tried to patch report viewer as was suggested in the issue above but the fix does not work as expected.
    The solution I suggested is the one you need to use. If it does not work for you, that's probably you added the required code in the wrong place. Can you clarify whether you see any errors in the "Console" tab of your browser DevTools (F12)?

    To verify whether the behavior you observe is specific to your application, I've attached a sample MVC project that implements the suggested workaround. Would you please check it and let us know if this particular demo works for you?

    Regarsd,
    Yaroslav

    Answers

    created 5 years ago

    I figured out the problem: I had PrintUsingAdobePlugIn set to false and it was printing HTML content report instead of PDF version.

    Yaroslav, thank you for example provided. It helped me to compare and identify the problem.

      Comments (1)
      Yaroslav (DevExpress Support) 5 years ago

        You're welcome, Rune! I'm happy to hear that my sample was helpful and that things are working for you now.
        Should there be further questions, feel free to contact us at any time.

        Regards,
        Yaroslav

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.