[DevExpress Support Team: CLONED FROM T814122: ASPxDocumentViewer - Print Report button does not work after Google Chrome Update 76.0.3809.132]
Hi,
We installed the hotfix 18.2.11 but when we click the printbutton, it throws an Error in Chrome: Cannot read property 'contentType' of null
The error occurs on: if(f.contentDocument.contentType !== "text/html")
We use the DocumentViewer Extension
Screenshot is attached
is there any solution?
Hello,
My attempt to reproduce this behavior was not successful. In the attachment, you will find a sample video illustrating that everything works fine on my side. Please provide me with a sample project that demonstrates the problematic behavior. I look forward to hearing from you.
Thanks for the feedback.
Unfortunately our Documentviewer is not so easy to set off from the main project.
But i try.
I noticed that your script is executed 3 times.
The third time the contentType is null and the Script crashes.
I have attached our DocumentViewer cshtml code .
Hello,
I cannot determine why the workaround doesn't work only by reviewing your view. I have attached the sample project that I used in the video from my previous comment. Please modify the project so I can reproduce the issue on my side.