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

UploadControlValidationSettings Members

Contains settings that relate to ASPxUploadControl‘s uploaded file validation.

Constructors

Name Description
UploadControlValidationSettings() Initializes a new instance of the UploadControlValidationSettings class with default settings.
UploadControlValidationSettings(ASPxUploadControl) Initializes a new instance of the UploadControlValidationSettings class with the specified owner.

Properties

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 Gets or sets the maximum file size (in bytes).
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.

Methods

Name Description
Assign(PropertiesBase) Copies the settings from the specified PropertiesBase object to the current object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() This method is not in effect for the UploadControlValidationSettings class.
See Also