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

ImageUploader.MessageCannotConnectToInternetText Property

Supported in: ActiveX , Java

Text of the error message which states that Image Uploader failed to connect to the Internet.

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("MessageCannotConnectToInternetText", "The attempt to connect to the Internet has failed.");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setMessageCannotConnectToInternetText(value);
value = getImageUploader("ImageUploaderID").getMessageCannotConnectToInternetText();

Property Value

A string value that specifies a text of the error message which states that Image Uploader failed to connect to the Internet. To disable this message, set it to an empty string.

Default value is "The attempt to connect to the Internet has failed.".

Remarks

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