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

Messages.MaxFileSizeExceeded Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

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

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

Syntax

Visual Basic
Public Property MaxFileSizeExceeded As String
C#
public string MaxFileSizeExceeded { get; set; }

Property Value

Type: System.String

This message states that a user tries to select too large file (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 "The file '[name]' cannot be selected. This file size exceeds the limit.".

Remarks

This property is necessary for localization of Image Uploader.

See Also

Reference