Skip to main content

FileManagerExtension.DownloadFiles(String, String, FileManagerFileDownloadingEventHandler) Method

OBSOLETE

Use the DownloadFiles method instead.

Returns the binary content of downloaded files from the FileManager with the specified settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

[Obsolete("Use the DownloadFiles(settings, rootFolder, fileDownloadingDelegate) method instead.", true)]
public static FileStreamResult DownloadFiles(
    string name,
    string rootFolder,
    FileManagerFileDownloadingEventHandler fileDownloadingDelegate
)

Parameters

Name Type Description
name String

A String value that specifies the FileManager extension name.

rootFolder String

A String value that specifies the root folder to which the FileManager extension is bound.

fileDownloadingDelegate FileManagerFileDownloadingEventHandler

A delegate method that will handle the event that fires on the server side before a file download starts, allowing you to cancel the action.

Returns

Type Description
FileStreamResult

A FileStreamResult object that is a binary content sent to the response.

See Also