Text of the user-friendly error message for errors which are meaningful to website developer only.

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("MessageUnexpectedErrorText", "Image Uploader encountered some problem. If you see this message, contact web master.");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript

getImageUploader("ImageUploaderID").setMessageUnexpectedErrorText(value);
value = getImageUploader("ImageUploaderID").getMessageUnexpectedErrorText();

Property Value

A string value that specifies a text of the user-friendly error message. To disable this message, set it to an empty string.

Default value is "Image Uploader encountered some problem. If you see this message, contact web master.".

Remarks

This message is displayed only when ShowDebugWindow property is false and some error which is meaningful only to the website developers occurs. Typically it means some server-side error. If you get this message, set the debug mode to true to see the actual error text.

If you have this problem with Java version, it is highly recommended to check out the Java console output.

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.