| C1.Web.Wijmo.Controls.C1Upload Namespace > C1Upload Class : ValidatingFile Event |
'Declaration<C1DescriptionAttribute(Key="C1Upload.ValidatingFile", Description="Occurs when validating the uploaded file.")> Public Event ValidatingFile As ValidateFileEventHandler
[C1Description(Key="C1Upload.ValidatingFile", Description="Occurs when validating the uploaded file.")] public event ValidateFileEventHandler ValidatingFile
The event handler receives an argument of type ValidateFileEventArgs containing data related to this event. The following ValidateFileEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| IsValid | Gets or sets whether the specified C1FileInfo passed validation. |
| Message | Gets or sets the message if C1FileInfo failed validation. |
| UploadedFile | The C1FileInfo that contains data about the uploaded file. (Inherited from C1.Web.Wijmo.Controls.C1Upload.UploadedFileEventArgs) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2