Hello,
I'm using PdfViewerServer, version 19.2.0.51.
I'm creating a pdf in memory using Syncfusion.Pdf.PdfDocument and then converting the stream to a Base64 string which is then bound to DocumentPath. It works well, but DownloadFileName is ignored when downloading the pdf through the viewer.
DownloadFileName is bound to a string property that is set dynamically according to the job name. I've also tried setting DownloadFileName to a static string and get the same result in both cases. When I push the viewer's download button the filename is always "undefined.pdf".
I've tried changing the DocumentPath to point to a test pdf file and sure enough, the DownloadFileName works as expected.
Thanks.
Alan