The requested page is not available for the requested platform. You are viewing the content for Default platform.

FileDataDownloader.Download(IFileData) Method

Initiates downloading the file stored within the specified IFileData object.

Namespace: DevExpress.ExpressApp.FileAttachments.Web

Assembly: DevExpress.ExpressApp.FileAttachment.Web.v18.2.dll

Declaration

public static void Download(
    IFileData fileData
)
Public Shared Sub Download(
    fileData As IFileData
)

Parameters

Name Type Description
fileData IFileData

A IFileData object that stores a file to download.

Remarks

You can call this method from a custom Action to download a file. Do not forget to set the IModelActionWeb.IsPostBackRequired property to true for such an Action.

See Also