Gets or sets the format to display the text representing progress of current AJAXUploader.
[Visual Basic]
Public Property ProgressTextFormat As
String
[C#]
public
String ProgressTextFormat {get; set;}
Remarks
When AJAXUploader is in uploading progress, you can specify to display text to indicate current uploading status. Default template displays the text next to ProgressBar but you can edit the default template and move the uploading text to anywhere.
This property is used to specify the format of the text.
The format string can includes variables that will be replaced at runtime with the value of the variable. A variable is marked by a pair of "{" and "}".
For example, the default progress text:
"Uploading...{transferred} bytes of {total} bytes ({percentage}%) done."
Includes three variables: transferred, total and percentage.
The following table lists all the supported variables:
| Name |
Remark |
| trasnferred |
Indicates how many bytes have been transferred |
| total |
Indicates the total bytes need to be transferred |
| percentage |
Indicates the percentage of total bytes that has been transferred |
| current_file_name |
Indicates the current file name that is being transferred |
| total_file_count |
Indicates the number of files that need to be transferred |
| transferred_file_count |
Indicates the number of files that have been transferred |
| elapsed_seconds |
Indicates the time in seconds since the beginning of the uploading process |
| estimated_remaining_seconds |
Indicates the time remained to finish the uploading task. |
See Also
AJAXUploader Class | EO.Web Namespace