Additional Form Fields
Main Menu | Uploaded File Listing
The following sample illustrates how you can incorporate custom input fields into a file upload form. Because the upload process is occurring asynchronously, all form field values are available within events raised by the UploadManager control. View this sample's code-behind to see how the FileUploadComplete event is used to gain access to custom form fields.

This sample uses the AutoPostback value of the Upload control to immediately upload files as soon as they are selected. When a file is uploaded, it is renamed according to the first TextBox value. Then, the upload is logged to a file with the name entered in the second TextBox.

Also, take note of how the Upload control and ProgressPanel controls have been customized with new image buttons and progress bar images.

NOTE: This online sample limits upload file size to 4.0 MB.

Rename File To:
File Submitted By:
Select A File: