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

ImageUploader.MessageUploadFailedText Property

Supported in: ActiveX , Java

Text of the error message which states that the upload failed because the connection was broken.

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("MessageUploadFailedText", "Upload failed (the connection was interrupted).");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setMessageUploadFailedText(value);
value = getImageUploader("ImageUploaderID").getMessageUploadFailedText();

Property Value

A string value which specifies a text of the error message stating that the upload failed because the connection was broken. To disable this message, set it to an empty string.

Default value is "Upload failed (the connection was interrupted).".

Remarks

Typically this error occurs when timeout expires (either server-side or client-side).

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