.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

FileDataDownloader.Download(IFileData) Method

Initiates downloading the file stored within the specified IFileData object.

Namespace: DevExpress.ExpressApp.FileAttachments.Web

Assembly: DevExpress.ExpressApp.FileAttachment.Web.v21.1.dll

Declaration

public static void Download(
    IFileData fileData
)

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