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>