PDFViewerDplProcessingUploadSettingsBuilder
Methods
Url(System.String)
Specifies the url that will receive the submitted file. The handler must accept POST requests.
Parameters
value - System.String
The value that configures the url.
Example
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.DplProcessing(dpl => {
dpl.Upload(upload => upload.Url(Url.Action("GetPdf", "PdfViewer")));
})
)
SaveField(System.String)
Specifies the name of the form field which is submitted to saveUrl.
Parameters
value - System.String
The value that configures the savefield.
Example
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.DplProcessing(dpl => {
dpl.Upload(upload => upload.Url(Url.Action("GetPdf", "PdfViewer")).SaveField("file"));
})
)