Posted on: 7/2/2014 6:37:09 PM | Views : 427

I have to move my functions that create PDF files to a common class page.  the last thing that is tripping me up is the scriptmanger that i create to go back and open the pdf file that i created.  The script manager doe snot like the page of the RegisterClientScriptBlock, I put in the system.web.ui but still no joy.
Also if some is so kind, is there a way to create a pdf and open ins another explorer tab without having to create and save a file to the web server, then retrieve it to show it to user.
 
 
Dim pdftemp As String = System.Web.HttpContext.Current.Server.MapPath("~/PDF/JumpsFinal.pdf") Dim NewFile As String = System.Web.HttpContext.Current.Server.MapPath("~/PDFTemp/" & recruitname & "_Jumps.pdf") If File.Exists(NewFile) Then File.Delete(NewFile) End If Dim pdfReader As New PdfReader(pdftemp) Dim ...

Go to the complete details ...