New to Telerik UI for ASP.NET Core? Download free 30-day trial

PDFjs Processing

By default, if no processing configuration is defined, the PDFViewer uses the PDF.js library.

PDF.js is an open-source project that is developed by Mozilla.


Add the PDF.js library scripts to the page.

Basic Configuration

The following example demonstrates how to configure the PDFViewer to use PDF.js processing.

        .PdfjsProcessing(pdf => pdf
    <kendo-pdfviewer name="pdfviewer"
        <pdfjs-processing file="@Url.Content("~/shared/web/pdfViewer/sample.pdf")" />
    <script src=""></script>
        window.pdfjsLib.GlobalWorkerOptions.workerSrc = '';

For a complete example, refer to the following demo:

Browser Support

PDF.js processing is not supported in Internet Explorer 9. To work properly in that browser version, PDF.js requires additional configuration.

    // Specify the workerSrc property for Internet Explorer support.
    window.pdfjsLib.GlobalWorkerOptions.workerSrc = '';

See Also

In this article