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

ImageUploader.MessageRetryOpenFolderText Property

Supported in: ActiveX , Java

Text of the message which is displayed when Image Uploader tries to restore last visited folder and it is not available.

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("MessageRetryOpenFolderText", "Last visited folder is not available. It is possible it is located on a removable media. Insert the media and click Retry button or click Cancel button to continue.");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setMessageRetryOpenFolderText(value);
value = getImageUploader("ImageUploaderID").getMessageRetryOpenFolderText();

Property Value

A string value that specifies a text of the message which is displayed when Image Uploader tries to restore last visited folder and it is not available. If you do not want to display this message and prefer to reset current folder to desktop whenever last visited folder restoration failed, set empty string to this property.

Default value is "Last visited folder is not available. It is possible it is located on a removable media. Insert the media and click Retry button or click Cancel button to continue.".

Remarks

This message asks whether to retry to open the folder or reset the folder to desktop.

Typical situation when this message is displayed is when the user upload files from removable media (e.g. USB drive, etc). If the user unplugs the device and tries to open Image Uploader, it prompts to plug the device and try again.

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