UploadControlExtension.GetUploadedFiles(UploadControlSettings, out String[], EventHandler<FileUploadCompleteEventArgs>, EventHandler<FilesUploadCompleteEventArgs>) Method
In This Article
Returns an array of the files uploaded in UploadControl, and accepts specific parameters.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public static UploadedFile[] GetUploadedFiles(
UploadControlSettings settings,
out string[] errorTexts,
EventHandler<FileUploadCompleteEventArgs> fileUploadCompleteDelegate,
EventHandler<FilesUploadCompleteEventArgs> filesUploadCompleteDelegate
)
#Parameters
Name | Type | Description |
---|---|---|
settings | Upload |
An Upload |
error |
String[] | An array of strings specifying error explanation texts specific to the uploaded files. |
file |
Event |
A delegate method that implements custom validation of an uploaded file. |
files |
Event |
A delegate method that implements custom validation of all uploaded files. |
#Returns
Type | Description |
---|---|
Uploaded |
An array of Uploaded |
See Also