Skip to main content
.NET Framework 4.6.2+
  • The page you are viewing does not exist in the .NET 8.0+ platform documentation. This link will take you to the parent topic of the current section.

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FileAttachmentController.DownloadAction Property

Provides access to the FileAttachmentController‘s Download Action.

Namespace: DevExpress.ExpressApp.FileAttachments.Web

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

NuGet Package: DevExpress.ExpressApp.FileAttachment.Web

#Declaration

public SimpleAction DownloadAction { get; }

#Property Value

Type Description
SimpleAction

A SimpleAction object that is the Download Action.

#Remarks

The Download Action downloads a file stored within the IFileData type property of the current object. The IFileData property that stores a file to be downloaded is specified via the FileAttachmentAttribute applied to the current persistent object declaration.

IFileAttachmentWeb

To ascertain why the Download Action is currently deactivated or disabled, use the DiagnosticInfo Action. If you need to change the Action’s “active” or “enabled” state in code, use its ActionBase.Active or ActionBase.Enabled property, respectively.

Information on the Download Action is available in the Application Model‘s ActionDesign node. To access it, use the Model Editor.

See Also