Please can someone advise how I can display a PDF in a WebBrowser Control.
The PDF is generated by exporting a Crystal ReportClass to stream using:
receiptStream = rpt.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat)
I have been trying to open this in a WebBrowser Control using DocumentStream = receiptStream
but this just produces a page of rubbish.
I would prefer not to have to export the stream to file in order to display as this PDF is for transactional receipts, so this would be a large resource requirement.
Any help would be greatly apreciated.