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

Messages.FileNameNotAllowed Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a message which states that a user tries to select a file, the name of which is not allowed.

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

Syntax

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

Property Value

Type: System.String

The message which states that a user tries to select a file the name of which is not allowed (i.e. the file name does not match FileMask, or matches DeniedFileMask). 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 has inadmissible name.".

Remarks

This property is necessary for localization of Image Uploader.

See Also

Reference