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

ImageUploader.ErrorDeletingFilesDialogMessageText Property

Supported in: ActiveX , Java

Text of the error message which states that the specified file cannot be deleted.

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("ErrorDeletingFilesDialogMessageText", "Could not delete [Name]");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setErrorDeletingFilesDialogMessageText(value);
value = getImageUploader("ImageUploaderID").getErrorDeletingFilesDialogMessageText();

Property Value

A string value which specifies a text of the error message which states that the specified file cannot be deleted, e.g. it is used by another application.

To be able to display additional information in this error message (like the filename), a special keyword is used:

[Name]
replaced by the name of the file which cannot be deleted.

Default value is "Could not delete [Name]".

Remarks

Note

A difference between ActiveX control and Java applet is the following. When the user deletes files in ActiveX control it moves them in the way specified in the Recycle Bin properties. By default, a standard delete confirmation dialog appears and files are moved to the Recycle Bin if the user clicks Yes. However if the user deletes files in Java applet the internal Image Uploader dialog appears and files are removed permanently when the user clicks Yes.

This property is necessary for localization of Image Uploader.

Note

If you want to specify a multiline text use the "\n" sequence to separate lines.

See Also

Manual

Reference