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

ImageUploader.MessageServerNotFoundText Property

Supported in: ActiveX , Java

Text of the error message which states that the server with the name, specified in the Action parameter cannot be found.

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("MessageServerNotFoundText", "The server or proxy [Name] not found.");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setMessageServerNotFoundText(value);
value = getImageUploader("ImageUploaderID").getMessageServerNotFoundText();

Property Value

A string value which specifies a text of the error message stating that the server with the name, specified in the Action parameter cannot be found (e.g. the name of this server name is misspelled or the server is down). To disable this message, set it to empty string.

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

[Name]
replaced by the name of the server which cannot be reached (as specified in the Action parameter).

Default value is "The server or proxy [Name] not found.".

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