locked
Opening in Pdf Reader RRS feed

  • Question

  • User-781631963 posted

    hello every one ,

    i have generated a report and know i want to open it directly into the pdf reader when the page is loaded please guide me how can i do this . 

    thanks 

    Sunday, January 29, 2012 3:54 AM

Answers

  • User-37275327 posted

    Check following tutorial

    http://www.codeproject.com/Articles/14597/Convert-a-Crystal-Report-to-PDF

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 3, 2012 4:17 AM

All replies

  • User1604174074 posted

    yea i too have the same quesion..anyway i managed to open it but i am not getting some tables in my pdf properly

    Sunday, January 29, 2012 4:17 AM
  • User-37275327 posted

    Check following tutorial

    http://www.codeproject.com/Articles/14597/Convert-a-Crystal-Report-to-PDF

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 3, 2012 4:17 AM
  • User-1211334923 posted

    Dim CrDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
    CrDoc.Load(Server.MapPath("rptinvoice.rpt"))

    CrDoc.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, False, "ExportedReport")

    Thursday, February 9, 2012 1:13 PM