Open PDF in new window

Open PDF in new window

Forum member · Apr 1, 2008
I just added the "SimpleReport" example to my project and it will not show the PDF either. I added a line to WRITE the file to disk and it does write the file out with data in it. I just can't get it to show the PDF file in the new window. I have noticed that when I run the code on other examples you have that checks for PostBack Acrobat starts up and the PDF shows. When I run my code Acrobat does not start up. Is this a clue that helps? I cannot REPLY to threads, only make new ones. I posted the message I got.

Re: Open PDF in new window

Support · Apr 1, 2008
Hello, Are you getting a blank screen when using the DrawToWeb method in the SimpleReport example. This might be because of some stray HTML getting outputted along with the PDF stream. Please try adding the following line of code right after the DrawToWeb method of the document. Visible = false; PostBack property and the Acrobat processes are not related and this is not the reason for this behavior. Thanks, ceTe Software Support Team.