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

ASPxClientUploadControlValidationErrorTypeConsts Properties

Declares client constants containing codes of validation errors that can occur while selecting files for uploading.
Name Description
FileNameContainsInvalidCharacter static

A file name contains invalid character.

Return Value: 4

MaxFileCountExceeded static

The allowed maximum count of the files is exceeded.

Return Value: 3

MaxFileSizeExceeded static

The allowed maximum file size is exceeded.

Return Value: 1

NotAllowedFileExtension static

The file’s extension is not allowed.

Return Value: 2

See Also