Open PDF in new window

Open PDF in new window

Forum member · Apr 1, 2008
I am using Master-Content pages. I have your examples working but I can't see a logical scenario where any one would try to do this the way your examples work. I think most people want to hit a button and see the PDF open in a new window. This PostBack stuff is not real world code. I would like to see you add an example that opens a new window with the PDF file in it. There is a thread where some one else asks about this and I tried to "reply" on it but your site keeps erroring. He says he got it working. I can use Javascript to open a new window but the Javascript to open the new window runs before the code that builds the PDF ( allowing me to assign the document to a Session[] var so it can be referenced on the new page). When I get to the new page there is no reference to get the document from as in the other gentlemans example mentioned in the thread above. If I Response.Redirect it opens in the same window and allows me to reference the Session[] var and does WRITE the PDF file to disk as I want but it will not show the PDF in the window.

Re: Open PDF in new window

Support · Apr 1, 2008
Hello, Currently we do not have a sample example to open the PDF in a new page using the Master and Content pages. We will work on this and we will post a message when it is ready. We are able to reply to the forum posts without any problem. If you are still getting error in replying then you can send your reply to our [^a|mailto:support@cete.com|Support Team^] and we can post a message in that thread on your behalf if you like. Thanks, ceTe Software Support Team.