Hey guys, currently I'm struggling with the PDFViewer.
First of all, I'm building a PDF dynamically in my WebApp.
RadFlowDocument document;RadFlowDocumentEditor editor;
[...]
PdfFormatProvider providerPDF = new PdfFormatProvider();
return providerPDF.Export(document);
So I'm not saving the created PDF as a file on the filesystem. Till now I'm only able to download the created file with the action method:
public ActionResult DownloadTestDocument(){ return File( new Verleihinfo().Pdf, // returns the byte array -> providerPDF.Export(document) "application/pdf", "test.pdf");}Now instead of downloading the file I want to show my pdf directely in the PDFViewer on my page, so that user can see and interact with. Is it even possible (preferably in MVC)?
As far I unterstood here it's only possible to pass an existing pdf-file on the filesystem as a parameter to the PDFViewer. But not a dynamically created file..
Thank you
Daniel