UploadControlExtension.GetUploadedFiles(String, UploadControlValidationSettings, out String[], EventHandler<FileUploadCompleteEventArgs>) Method
Returns an array of the files uploaded via the specified UploadControl, and accepts specific parameters.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public static UploadedFile[] GetUploadedFiles(
string name,
UploadControlValidationSettings validationSettings,
out string[] errorTexts,
EventHandler<FileUploadCompleteEventArgs> fileUploadCompleteDelegate
)
Parameters
Name | Type | Description |
---|---|---|
name | String | A string value specifying the UploadControl’s name (SettingsBase.Name). |
validationSettings | UploadControlValidationSettings | A UploadControlValidationSettings object that contains settings that relate to the uploaded file validation. |
errorTexts | String[] | An array of strings specifying error explanation texts specific to the uploaded files. |
fileUploadCompleteDelegate | EventHandler<FileUploadCompleteEventArgs> | A delegate method that implements custom validation of an uploaded file. |
Returns
Type | Description |
---|---|
UploadedFile[] | An array of UploadedFile objects associated with file input elements. |
See Also