New to Kendo UI for jQuery? Start a free 30-day trial

DplProcessing

configuration

Specifies the DPL configuration options. For a complete demo and a backend implementation, check the Telerik UI for ASP.NET Core DPL Processing demo.

pseudo
    <div id="pdfviewer"></div>
    <script type="module">
        $("#pdfviewer").kendoPDFViewer({
            dplProcessing: {
                read: {
                    url: ""
                },
                download: {
                    url: ""
                },
                upload: {
                    url: ""
                }
            },
            toolbar: {
                items: [
                    "pager", "spacer", "open", "download"
                ]
            }
        });
    </script>

Specifies the download configuration.

pseudo
    <div id="pdfviewer"></div>
    <script type="module">
    $("#pdfviewer").kendoPDFViewer({
        dplProcessing: {
            download: {
                url: "/api/pdfviewer/download"
            }
        }
    });
    </script>

Specifies whether read requests should be sent for each page. Note that on the server the pageField should be nullable.

Default: false

pseudo
    <div id="pdfviewer"></div>
    <script type="module">
    $("#pdfviewer").kendoPDFViewer({
        dplProcessing: {
            read: {
                url: "/api/pdfviewer/read",
                pageField: "pageNumber"
            },
            loadOnDemand: true
        }
    });
    </script>

Specifies the configuration of the jQuery.ajax to make an HTTP request to the remote service.

pseudo
    <div id="pdfviewer"></div>
    <script type="module">
    $("#pdfviewer").kendoPDFViewer({
        dplProcessing: {
            read: {
                url: "/api/pdfviewer/read",
                type: "POST",
                dataType: "json"
            }
        }
    });
    </script>

Specifies the configuration of the jQuery.ajax to make an HTTP POST request to the remote service.

psuedo
    <div id="pdfviewer"></div>
    <script type="module">
    $("#pdfviewer").kendoPDFViewer({
        dplProcessing: {
            upload: {
                url: "/api/pdfviewer/upload",
                saveField: "document"
            }
        }
    });
    </script>