Krystalware
SlickUpload logo

Progress elements

The UploadProgressElement and UploadProgressBarElement controls display pieces of progress information returned by an UploadProgressDisplay. Each control displays an individual element of upload progress or, in the case of the UploadProgressBarElement, a progress bar.

To function properly, all UploadProgressElement or UploadProgressBarElement controls must be contained within the ProgressTemplate of a SlickUpload or UploadProgressDisplay control or have their ProgressDisplayId set to the id of an UploadProgressDisplay control.

The UploadProgressElement control

The UploadProgressElement 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:

MemberDescription
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.
State Current UploadState of the upload.

The UploadProgressBarElement control

The UploadProgressBarElement 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.