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

FileDataDownloader.DownloadCore(IFileData) Method

Writes the file stored within the specified IFileData object to the response and ends the response.

Namespace: DevExpress.ExpressApp.FileAttachments.Web

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


public virtual void DownloadCore(
    IFileData fileData
Public Overridable Sub DownloadCore(
    fileData As IFileData


Name Type Description
fileData IFileData

An IFileData object that stores a file to download.


To execute custom code when a file is downloaded, inherit the FileDataDownloader class and override the DownloadCore method.

public class MyDownloader : FileDataDownloader {
        public override void DownloadCore(DevExpress.Persistent.Base.IFileData fileData) {
        // Place your code here.
See Also