Table of Contents
PostedFileLabelFormat Property

Gets or sets the format to display posted file names.

Syntax
 public String PostedFileLabelFormat { get; set; }
Remarks

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 PostedFileLabelFormat:

{posted_file_name} - {posted_file_type} ({posted_file_size}bytes)

includes three variables: posted_file_name, posted_file_type and posted_file_size.

The following variables are supported:
Variable Remark
posted_file_name The file name.
posted_file_type The MIME type.
posted_file_size File size in bytes.
posted_file_size_mb File size in MB.
posted_file_size_kb File size in KB.
See Also