FileManagerExtension.DownloadFiles(String, FileSystemProviderBase, FileManagerFileDownloadingEventHandler) Method
In This Article
OBSOLETE
Use the Download
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
NuGet Package: DevExpress.Web.Mvc5
#Declaration
[Obsolete("Use the DownloadFiles(settings, fileSystemProvider, fileDownloadingDelegate) method instead.", true)]
public static FileStreamResult DownloadFiles(
string name,
FileSystemProviderBase fileSystemProvider,
FileManagerFileDownloadingEventHandler fileDownloadingDelegate
)
#Parameters
Name | Type | Description |
---|---|---|
name | String | A String value that specifies the File |
file |
File |
A File |
file |
File |
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 |
---|---|
File |
A File |
See Also