The <au:AjaxFileUpload> server control provides a declarative way to add file uploads.
Use properties to configure behavior without writing JavaScript.
Drag & drop files here, or paste from clipboard
<au:AjaxFileUpload ID="Uploader1" runat="server"
AllowMultiple="true"
MaxFileSize="5MB"
AllowedExtensions=".jpg,.png,.gif,.pdf"
MaxFileCount="5"
ButtonText="Choose Files"
AutoUpload="true"
ShowProgress="true" />
Common Properties
| Property | Description |
AllowMultiple | Allow selecting multiple files |
MaxFileSize | Maximum file size (e.g. "5MB") |
AllowedExtensions | Comma-separated allowed extensions |
MaxFileCount | Maximum number of files |
AutoUpload | Start uploading immediately on selection |
ShowProgress | Show upload progress bar |
EnableDropZone | Enable drag-and-drop file selection |
ShowThumbnails | Show image thumbnails in queue |
ButtonText | Custom text for the upload button |