Open a PDF in another window/tab

  • Thread starter news.microsoft.com
  • Start date
N

news.microsoft.com

Hi,

I'm using the folowing code to export a Crystal Report directly to browser:
Response.Clear()
cr.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, False, "Filename")
Response.End()

The problem is that (at least with IE7) the pdf appears on the same page and the «back» browser button keeps disabled.
I realy would like the pdf file to be opened in another browser window (or antother tab in IE7) but I don't know how.

Could you help me please?!

Thanks in advance

CC
 
C

Cowboy \(Gregory A. Beamer\)

Link to another form and feed the PDF-creation parameters via the querystring. You can then create the PDF file without problem.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box! |
*************************************************
Hi,

I'm using the folowing code to export a Crystal Report directly to browser:
Response.Clear()
cr.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, False, "Filename")
Response.End()

The problem is that (at least with IE7) the pdf appears on the same page and the «back» browser button keeps disabled.
I realy would like the pdf file to be opened in another browser window (or antother tab in IE7) but I don't know how.

Could you help me please?!

Thanks in advance

CC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top