Categories | Question details Back To List | ||||||||
Window displaying a PDF 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 Answer posted by Support on Sep 29, 2009 08:08 Hello, Please try to use attached dhtmlxwindows.js. Attachments (1)
Answer posted by Eric on Sep 29, 2009 09:21 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
Answer posted by Eric on Sep 29, 2009 09:24 BTW ... the "Open Interactive Version" of this Knowledgebase does not work with the Google Chrome brower. FYI ... Answer posted by Support on Sep 30, 2009 01:58 Thanks for the information. |