Using the sameple provided for the PDF Viewer control, I can load a file by filename at runtime. I need to pass a file id or name as a paramater. In the Jquery I have the following:
<script>
$(document)
.ready(function() {
var ejPdfViewer = $("#pdfviewer").data("ejPdfViewer");
ejPdfViewer.load(@ViewBag.Url);
});
</script>
VieBag.Url has the link, which loads fine but any page past the first will not. The filename is only sent one time during the process. Any help would be greatly appreciated.