This documentation is for the old version. Go to the latest Upload Suite docs

Messages.MaxFileSizeExceeded Property

Gets or sets a message which states that a user tries to select a file that is too big.

Syntax

PHP Initialize
public function getMaxFileSizeExceeded() {
}

public function setMaxFileSizeExceeded($value) {
}

Property Value

Type: string

The message which states that a user tries to select a file which is too big (i.e. the file size exceeds the MaxFileSize value). To disable this message, set it to an empty string. It can contain the following placeholder:

[name]
replaced by the name of the file which cannot be added.

Default value is "Size of '{0}' is too large to be added. Maximum allowed size is {1}.".

Remarks

This property is necessary for localization of Image Uploader Flash.

See Also

Reference