Combined Validation Rules

Demo uploads land in a temporary store and are swept after 60 minutes. To keep files, handle FileUploaded — see Single File for the complete save pattern.
Combined Validation Rules

Combine multiple validation rules: allowed extensions, max file size, max file count, and min file size all working together in a single uploader.

What you should see: several rules at once: .jpg/.png/.gif/.pdf, 1 KB–3 MB, at most 5 files. Try a 6th file or an oversized one to see each rule fire separately.
Drag & drop files here, or paste from clipboard
<au:AjaxFileUpload ID="Uploader1" runat="server"
 AllowMultiple="true"
 AllowedExtensions=".jpg,.png,.gif,.pdf"
 MaxFileSize="3MB"
 MinFileSize="1KB"
 MaxFileCount="5"
 ButtonText="Select Files"
 AutoUpload="true"
 ShowProgress="true" />
Active Rules
Combined upload validation rules
RuleValue
Allowed Extensions.jpg, .png, .gif, .pdf
Maximum File Size3 MB
Minimum File Size1 KB
Maximum File Count5