Intersoft Support Center

Validate Upload

WebFileUploader includes sophisticated built-in validation before user can select the file to be uploaded. It can perform validation by file types, file count, and custom validation.

In this topic, you will learn how to validate upload by file types and file count.

To validate upload

  1. Right-click on WebFileUploader control and choose Properties.
  2. Set FilesCount to 5 and FileTypes to *.zip;*.rar.
  3. Run the project. In this case, you can only upload file up to 5 files and each file type only contains either .zip or .rar.
Previous Next