Unplanned
Last Updated: 23 Oct 2023 15:12 by Eric Mooiweer
Eric Mooiweer
Created on: 23 Oct 2023 15:12
Category: PDFViewer
Type: Feature Request
1
Pass parameters through the Read request when using DPL Processing

Is it possible to add an option similar to the Data() method that can be used to pass additional parameters to the remote endpoint through the Read request of the PDFViewer?

For example:

    @(Html.Kendo().PDFViewer().Name("pdfviewer")
        .DplProcessing(dpl => {
            dpl.Read(r => r.Url(Url.Action("GetInitialPdf", "PdfViewer")).Data("additionalParams"));
            ...
        })
    )

<script>
function additionalParams() {
  return {
    param1: "test"
  }
}
</script>

0 comments