I have an asp.net 2.0 web page that I am trying to embed a dynamically generated .pdf file into. On the parent page I have the source line of:
<embed src="<path to .aspx page>" width="720" height="600" name="PDFFile"></embed>
The .aspx page will generate a valid .pdf file if it is accessed directly, but not if I use it with the embed src tag. I have included the Response.End function after the DrawToWeb function.
If I use the path to a .pdf file that was generated by the .aspx page and has been saved to the physical hard drive on the server everything works fine. Is there something specific I'm missing?
Can't get embed src tag to work with dynamic .PDF
Re: Can't get embed src tag to work with dynamic .PDF
Support · Oct 17, 2008Hello,
We will do some more testing on this issue and we will post something in the early next week.
Thanks,
ceTe Software Support Team.
Re: Can't get embed src tag to work with dynamic .PDF
Support · Nov 26, 2008Hello,
We did some testing and we could not find a way to embedd the aspx which generates the PDF document in a main aspx page.
Thanks,
ceTe Software Support Team.