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

ImageUploader.DeniedFileMask Property

Supported in: ActiveX , Java

File mask for the files that are denied to be displayed and uploaded.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("DeniedFileMask", "");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setDeniedFileMask(value);
value = getImageUploader("ImageUploaderID").getDeniedFileMask();

Property Value

A string value that specifies a file mask for files denied to be displayed and uploaded. You can use the standard wildcards such as asterisk * (arbitrary substring) and question mark ? (arbitrary character). To specify several masks, separate them by semicolons, e.g. *.exe;*.asp;*.htm.

Default value is "".

See Also

Manual

Reference