We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Opening PDF in a new browser window

I'm creating a PDF in vb.net - my PdfDocument variable is "doc". Once I've created the document, I execute the following code:

doc.Save(sPdfFileName, Response, HttpReadType.Open)
doc.Close()

I want to open the document in a NEW browser window. Is this possible??

bert




2 Replies

BS Bert Sirkin November 14, 2011 05:52 PM UTC

Never mind - I figured it out. I just opened a new ASPX page with Javascript (window.open).

bert




GM Geetha M Syncfusion Team November 15, 2011 05:52 AM UTC

Hi Bert,

Thank you for the update.

Please let us know if you have any questions.

Regards,
Geetha


Loader.
Live Chat Icon For mobile
Up arrow icon