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

ImageUploader.MessageFileSizeIsTooSmallText Property

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

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

Syntax

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

Property Value

A string value that specifies a text of the error message which states that the user tries to select too small file (i.e. the file size is smaller than MaxFileSize value).

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 MinFileSize value (the minimum file size allowed for upload).

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

Remarks

This property corresponds to MessageFileSizeIsTooSmallText client-side property.

See Also

Reference