Skip to main content

UploadControlExtension.GetUploadedFiles(UploadControlSettings, out String[], EventHandler<FileUploadCompleteEventArgs>, EventHandler<FilesUploadCompleteEventArgs>) Method

Returns an array of the files uploaded in UploadControl, and accepts specific parameters.

Namespace: DevExpress.Web.Mvc

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

Declaration

public static UploadedFile[] GetUploadedFiles(
    UploadControlSettings settings,
    out string[] errorTexts,
    EventHandler<FileUploadCompleteEventArgs> fileUploadCompleteDelegate,
    EventHandler<FilesUploadCompleteEventArgs> filesUploadCompleteDelegate
)

Parameters

Name Type Description
settings UploadControlSettings

An UploadControlSettings object containing UploadControl extension settings.

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.

filesUploadCompleteDelegate EventHandler<FilesUploadCompleteEventArgs>

A delegate method that implements custom validation of all uploaded files.

Returns

Type Description
UploadedFile[]

An array of UploadedFile objects that are uploaded files.

See Also