In a web application,  I generate a pdf document in two different ways:
1. With the instructions
        Response.ContentType = "application/pdf"
        Response.AddHeader("Content-Disposition", "attachment;
filename=itext.pdf")

       I show the document in a pdf window, (not a web page) separated from
the web page used to generate the document (suppose url=http://page1.aspx)

2. With the instruction
        Response.ContentType = "application/pdf"

       I show the document in pdf format, but inside the web page used to
generate de document (suppose url=http://page1.aspx)

A second application needs to trap the document but this needs to be in a
different page, for example http://page2.aspx, because the second
application is going to trigger an event that traps the document. So it is
necesary to use a different page, because page1.aspx is called a lot of
times, when you are working with application 1, but the capture event must
be triggered only when the pdf document is shown.

Any idea to change the url from page1.aspx to page2.aspx?
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to