Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Show All Themes

Custom Progress Panel

Clear selectionBrowse...

Note: The size of each file selected for upload is limited to 10 MB in this demo.

In addition to the built-in progress panel, the ASPxUploadControl allows you to create a custom progress panel for file uploads. For this purpose, you can use the UploadingProgressChanged client event. It exposes all of the required information about the current state of the file upload such as the total count and size of the files selected for upload, the currently uploaded file name, the file sizes of the files that have already been uploaded, and the current progress value (displayed as a percentage).

This demo illustrates how a custom progress panel can be implemented by handling the UploadingProgressChanged client event and using a separate ASPxProgressBar control displayed within an ASPxPopupControl.

The control's ValidationSettings.ShowErrors property is disabled to suppress the default error indication. Both the server and client FilesUploadComplete events are handled to identify the upload operation result on the server, and to process and display it in a message box on the client.

Note that ASPxUploadControl is used in Advanced Upload Mode in this demo (the UploadMode property is set to Advanced).

Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxFileManagerAndUploadDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxFileManagerAndUploadDemos