0 Replies Latest reply on Feb 25, 2009 6:31 AM by (Boyko_Vasil)

    How to open PDF file generated by some ashx handler using POST parameters in Internet Explorer for W

      I need to print content of pdf file by JavaScript.

      To do this used HTML like this:
      <OBJECT id = "Pdf" data = 'http://someurl.com/getpdf.ashx' name="Pdf2" WIDTH="300" HEIGHT="300"></OBJECT>
      <a onclick="document.Pdf.PrintWithDialog() ;">Print file</a>

      But to get pdf file I must POST few parameters to handler http://someurl.com/getpdf.ashx. How I can do it?