Hello,
When I open a DHTMLWindow and attach it to a url that is a server PDF file, the window opens and displays fine and the PDF controls are present, however when I click the “X” to close the window I get a runtime error …
line 45
error:"_frame.contentWindow.document.body’ is null or not an object
Debugging shows this error comes from file: dhtmlxwindows.js
Is displaying PDF files in a dhtml window by using attachurl() not valid, or should it work ok?
Thanks for any help.
Regards,
Eric
Yes, this modified version of the dhtmlxwindow.js eliminates the runtime error. My xwindow opens cleanly, displays the PDF (showing the pdf plug-in extra buttons) and then clicking X closes the window with no error.
Thank you.
Regards,
Eric
BTW … the “Open Interactive Version” of this Knowledgebase does not work with the Google Chrome brower. FYI …
Thanks for the information.