Specifies a file data downloader to be used by the File Attachments module to send files to the client in ASP.NET XAF Applications.
Namespace: DevExpress.ExpressApp.FileAttachments.Web
Assembly: DevExpress.ExpressApp.FileAttachment.Web.v18.2.dll
public static void SetDownloader(
FileDataDownloader downloader
)
Public Shared Sub SetDownloader(
downloader As FileDataDownloader
)
Type | Name | Description |
---|---|---|
FileDataDownloader | downloader | A FileDataDownloader object to be used to send files to the client. |
To register your FileDataDownloader descendant, call the static SetDownloader method in the Application_Start method that is located in the Global.asax.cs (Global.asax.vb) file: