FileDataDownloader.Download(IFileData) Method
In This Article
Initiates downloading the file stored within the specified IFileData object.
Namespace: DevExpress.ExpressApp.FileAttachments.Web
Assembly: DevExpress.ExpressApp.FileAttachment.Web.v24.2.dll
NuGet Package: DevExpress.ExpressApp.FileAttachment.Web
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
file |
IFile |
A IFile |
#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