New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the PDFViewerDplProcessingDownloadSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PDFViewerDplProcessingDownloadSettingsBuilder

Inheritance: objectPDFViewerDplProcessingDownloadSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public PDFViewerDplProcessingDownloadSettingsBuilder(PDFViewerDplProcessingDownloadSettings settings)
Parameters:settingsPDFViewerDplProcessingDownloadSettings

The PDFViewerDplProcessingDownloadSettings

Methods

Specifies the download action url that will be navigated to.

C#
public PDFViewerDplProcessingDownloadSettingsBuilder Url(string value)
Parameters:valuestring

The value that configures the url.

Returns:

PDFViewerDplProcessingDownloadSettingsBuilder

Example:
C#
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.DplProcessing(dpl => {
dpl.Download(r => r.Url(Url.Action("DownloadPdf", "PdfViewer")));
})
)