New to Telerik UI for ASP.NET MVC? Start a free 30-day trial
DPL Processing
Updated on Jun 3, 2025
You can configure the PDFViewer to use the Telerik Document Processing library for PDF processing.
DPL Processing is in its beta version and has the following limitations:
- The clipping of elements and gradients is currently not supported.
- SVG or encoded images in other formats might not render correctly.
Requirements
- DPL Processing depends on the
Telerik.Web.PDFassembly. - To use DPL Processing, the application must target .NET Standard 2.0.
- The
Read()option is mandatory.
Basic Configuration
The following example demonstrates how to configure the PDFViewer to use DPL Processing.
Razor
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.DplProcessing(dpl => {
dpl.Read(r => r.Url(Url.Action("GetInitialPdf", "PDFViewer")));
dpl.Upload(upload => upload.Url(Url.Action("GetPdf", "PDFViewer")).SaveField("file"));
dpl.LoadOnDemand(true);
})
.Toolbar(toolbar =>
toolbar.Items(items =>
{
items.Add().Command("PageChangeCommand").Type("pager").Name("pager");
items.Add().Name("spacer").Type("spacer");
items.Add().Command("OpenCommand").Type("button").Name("open").Icon("folder-open");
})
)
.Height(1200)
)Starting with version 2024 Q4, the
FixedDocument.LoadandFixedDocument.Downloadmethods and their overloads accept an additional, optional parameter—TimeSpan timeOut. The parameter indicates the timeout for the operation and defaults to 1 minute.