Change Theme Settings
Change Theme Settings
Material Compact
Office 365
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).