FileManagerExtension.DownloadFiles(String, FileSystemProviderBase, 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.1.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 FileManager extension name. |
fileSystemProvider | FileSystemProviderBase | A FileSystemProviderBase object that is the custom file system provider 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