Skip to main content
A newer version of this page is available. .

ASPxClientUploadControlFile Class

Represents a client file that corresponds to a particular file selected for uploading in the upload control.

Declaration

declare class ASPxClientUploadControlFile

Remarks

The file’s name and size can be obtained by the ASPxClientUploadControlFile.name and ASPxClientUploadControlFile.size properties, respectively. Use the ASPxClientUploadControlFile.sourceFileObject property to get access to the file as a native JavaScript object.

To get the list of files selected for uploading, use the ASPxClientUploadControl.GetSelectedFiles method. To remove a specified file from this list, use the ASPxClientUploadControl.RemoveFileFromSelection method.

See Also