Is there a requirement that the RadPdfViewer load a file on page load?
When I call pdfviewer.fromfile() when no initial document is set I get the attached error. If I set the initial file to any valid pdf
IE: ( <PdfjsProcessingSettings File="/default2.pdf">
</PdfjsProcessingSettings>
)
I do not get the error.
<telerik:RadPdfViewer runat="server" ID="RadPdfViewer1" Height="650px" Width="100%" Scale="0.9">
<ToolBarSettings Items="pager, spacer, zoom, toggleSelection, spacer, search, print" />
</telerik:RadPdfViewer>
function loadFile(name) {
var pdfViewer = $find("<%=RadPdfViewer1.ClientID %>");
pdfViewer.fromFile(name);
}