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.
Unfortunately, activation email could not send to your email. Please try again.

Opening PDF in a new browser window

Thread ID:

Created:

Updated:

Platform:

Replies:

101702 Nov 14,2011 10:55 AM Nov 15,2011 12:52 AM ASP.NET Web Forms (Classic) 2
loading
Tags: PDF
Bert Sirkin
Asked On November 14, 2011 10:55 AM

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




Bert Sirkin
Replied On November 14, 2011 12:52 PM

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

bert



Geetha M [Syncfusion]
Replied On November 15, 2011 12:52 AM

Hi Bert,

Thank you for the update.

Please let us know if you have any questions.

Regards,
Geetha


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;