Important Notes
The RadProgressArea controls will be displayed only if there are selected files for upload or there is a custom progress information available.
You will need to enable RadMemoryOptimization in order to display progress for file upload. Note that RadMemoryOptimization is not operational for applications that are hosted in IIS7.
Upload Progress Monitoring
RadProgressArea is intended to provide UI for displaying the progress of file uploads or other processes which can be monitored on the server. RadProgressManager was designed to provide the Ajax mechanism for retrieving progress information from the application and to update all RadProgressArea controls on the page.
To setup a file upload progress indicator you need to:
- Register RadUploadHttpModule in web.config
- Register RadUploadProgressHandler in web.config
- Put on the page a RadProgressManager and a RadProgressArea controls.
- Put on the page a RadUpload and / or FileUpload controls, and / or standard <input type=file> elements.
Example
The following example demonstrates how to setup a file upload progress indicator using RadUpload, RadProgressManager and RadProgressArea. Instead of RadUpload you can use FileUpload controls or standard <input type=file> elements.
|
<rad:radupload id="RadUpload1" runat="server" /> <rad:radprogressarea id="RadProgressArea1" runat="server" /> <rad:radprogressmanager id="RadProgressManager1" runat="server" /> <asp:button id="Button1" runat="server" text="Submit" />
|