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 | Rule | Value |
| Allowed Extensions | .jpg, .png, .gif, .pdf |
| Maximum File Size | 3 MB |
| Minimum File Size | 1 KB |
| Maximum File Count | 5 |