Progress Elements
The ProgressElement and
ProgressBarElement
controls are used within the ProgressAreaTemplate of UploadManager
or ProgressDisplay controls.
Each control displays an individual element of upload progress or, in the case of the ProgressBarElement, a progress bar.
To function properly, all ProgressElement or ProgressBarElement controls must be contained within the ProgressAreaTemplate of an
UploadManager or ProgressDisplay control.
The ProgressElement control
The ProgressElement control emits a span tag that is filled during upload with the specified ProgressElementType.
The selected element is specified in the Element property.
The element types are as follows:
| Member | Description |
|---|
| CurrentFileName |
The file name of the file currently being uploaded.
| | CurrentFileIndex |
The one-based index of the file being uploaded.
| | FileCount |
Count of the files uploaded.
| | FileCountText |
Count with file/files suffix appended.
| | SpeedText |
Current speed text.
| | TimeRemainingText |
Current time remaining text.
| | TimeElapsedText |
Current time elapsed text.
| | ContentLengthText |
Content length text.
| | RemainingLengthText |
Current remaining length text.
| | TransferredLengthText |
Current transferred length text.
| | PercentCompleteText |
Current percentage complete.
|
The ProgressBarElement control
The ProgressBarElement control emits a div tag, with its width sized by the percentage complete. Thus, it will size as the upload progresses based on the percentage width of the
container.
|