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

messages.cannotReadFile Property

Gets or sets the message displayed when the read file error occurs.

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    messages: {
        //...other params...
        cannotReadFile: "Cannot read file: {0}.",
        //...other params...
    }
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').messages().cannotReadFile(value);
value = $au.imageUploaderFlash('uploaderID').messages().cannotReadFile();

Property Value

Type: String

The message displayed when the read file error occurs.

To be able to display additional information in this error message, special placeholder is used:

{0}
replaced by the name of the file which cannot be read.

Default value is "Cannot read file: {0}.".

See Also

Reference