CodeCharge Studio

DisallowedMasks Run-Time Property (PHP)

Applies to

FileUpload Control

Type

string

Access

read/write

Syntax

object->DisallowedMasks [= value]

Description

Stores a regular expression that is used to check if the filename mask is on the list of disallowed filename masks. If the filename mask is included in this property, the upload operation fails and an appropriate error message is displayed.
DisallowedMasks property has higher priority than the AllowedMask property. In other words, if a mask is mentioned in both properties (AllowedMasks and DisallowedMasks) the upload will fail.
Note: The initial value of this variable is built based on the contents of the "Disallowed Masks" design-time property.

See also

AllowedMasks Property


On-line, printable versions and updates