Skip to main content

ASPxClientUploadControlFileUploadCompleteEventArgs.isValid Property

Gets or sets a value indicating whether the uploaded file passes validation.

Declaration

isValid: boolean

Property Value

Type Description
boolean

true if the file is valid; otherwise, false.

Remarks

Use the isValid property to determine whether the uploaded file meets your validation criteria. You can define the required validation criteria by using the ASPxUploadControl.ValidationSettings property or by implementing custom validation logic within the ASPxUploadControl.FileUploadComplete event’s handler. In the latter case, you need to set the FileUploadCompleteEventArgs.IsValid property manually while handling the event.

See Also