Hello,
I can't delete/rename/move a directory contening a pdf that is rendered in the pdf viewer.
I'm using the webapi with pdfviewercontroller.
Before deleting the folder, I try to unload the document in javascript by doing :
var pdfviewerObj = $("#viewer").data("ejPdfViewer");
pdfviewerObj.unload();
pdfviewerObj.destroy();
But It doesn't seems to work, the file is locked.
When I load the file, In Fiddler, I see the call to /api/PdfViewer/Load
but on the unload nothing seems to be done, is it normal? no call to a /api/PdfViewer/Unload ?
How can I really unlock the file from javascript?
thanks