UploadControlValidationSettings Properties
Contains settings that relate to ASPxUploadControl‘s uploaded file validation.Name | Description |
---|---|
AllowedContentTypes | Obsolete. Gets or sets the allowed content types of the uploaded file. |
AllowedFileExtensions | Gets or sets the allowed file extensions of the uploaded file. |
DisableHttpHandlerValidation | Specifies whether to disable the ASPxUploadProgressHttpHandler validation. |
ErrorStyle | Gets the style settings for rendering the error message that is displayed if the uploaded file does not pass validation. |
FileDoesNotExistErrorText | Obsolete. Gets or sets the error text which indicates that the file selected for upload doesn’t exist on the client computer. |
GeneralErrorText | Gets or sets the error text indicating that an external error occurs during the specified file’s uploading. |
MaxFileCount | Gets or sets the maximum file count to be uploaded at once. |
MaxFileCountErrorText | Gets or sets the error text indicating that the number of files selected for upload exceeds the maximum allowed value. |
MaxFileSize | Specifies the maximum size of the uploaded file. |
MaxFileSizeErrorText | Gets or sets the error text indicating that the uploaded file’s size exceeds the maximum allowed value. |
MultiSelectionErrorText | Gets or sets the error text to be displayed within the editor’s error frame if the editor’s validation fails, provided the multi-file selection mode is used. |
NotAllowedContentTypeErrorText | Obsolete. Gets or sets the error text indicating that the specified file’s content type is not allowed. |
NotAllowedFileExtensionErrorText | Gets or sets the error text indicating that the specified file’s extension is not allowed. |
ShowErrors | Specifies whether the error message is displayed if the uploaded file does not pass validation. |
See Also