Hi all.
I'm using kendo-pdfviewer and loading it with a PDF I get from a web service. The web service takes query parameters and returns a PDF as a Byte[] and I turn that into a base64 string and put that in the viewer. Basic stuff ;) Here's the element from my HTML:
<kendo-pdfviewer style="height: 800px" [data]="pdfSrc" [tools]="pdfViewerTools">
<app-pdfviewer-messages></app-pdfviewer-messages>
<ng-template kendoPdfViewerBlankPageTemplate>
<div class="blank-template">No data</div>
</ng-template>
</kendo-pdfviewer>
Now, if i.e. the user has a PDF in the viewer and wants to narrow the data with some extra parameters, and that result returns an empty PDF, I need to remove the previous PDF from the viewer.
I've tried to set [data] to null and undefined but that does not work. Any suggestions ?
Best regards,
Kalli Kaldi