Provides data for the Telerik.Web.UI.RadUpload.ValidatingFile?text=ValidatingFile ++++++++++++++++event of the RadUpload control.
A ValidatingFileEventArgs is passed to the ValidatingFile handler to provide event data to the handler. The ValidatingFile event is raised when validation is performed on the server. This allows you to perform a custom server-side validation routine on a file of a RadUpload control.
Definition
Namespace:Telerik.Web.UI.Upload
Assembly:Telerik.Web.UI.dll
Syntax:
public class ValidateFileEventArgs : UploadedFileEventArgs
Inheritance: objectEventArgsUploadedFileEventArgsValidateFileEventArgs
Inherited Members
Properties
Gets or sets whether the value specified by UploadedFile passed validation.
public bool IsValid { get; set; }
true to indicate that the value specified by the UploadedFile passed validation; otherwise, false
Once your validation routine finishes, use the IsValid property to indicate whether the value specified by the UploadedFile passed validation. This value determines whether the file from the RadUpload control passed validation.
Gets or sets whether the internal validation should continue validating the file specified by the UploadedFile property.
public bool SkipInternalValidation { get; set; }
false to indicate that the internal validation should validate the file specified by the UploadedFile property; otherwise, true
Once your validation routine finishes, use the SkipInternalValidation property to skip the internal validation provided by the RadUpload control.