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

ImageUploader.MessageMaxFileSizeExceededText Property

Text of the error message which states that the user tries to select a file that is too big.

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


Visual Basic
Public Property MessageMaxFileSizeExceededText As String
public string MessageMaxFileSizeExceededText { get; set; }

Property Value

A string value that specifies a text of the error message stating that the 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.

To be able to display additional information in this error message (like the FileName, and the limit you specified), special keywords are used:

Placeholder Description
[Name] replaced by the name of the file which cannot be added.
[Limit] replaced by the MaxFileSize value (the max file size allowed for upload).

Default value is "The file [Name] cannot be selected. This file size exceeds the limit ([Limit] KB).".


This property corresponds to MessageMaxFileSizeExceededText client-side property.

See Also