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

ImageUploader.EnableInstantUpload Property

Supported in: ActiveX , Java

Switch that specifies whether to start sending files right after they are selected for upload not waiting for Send button click.

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("EnableInstantUpload", "false");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setEnableInstantUpload(value);
value = getImageUploader("ImageUploaderID").getEnableInstantUpload();

Property Value

A boolean value (true or false). If true, the upload process starts instantly when files are added to the upload pane. Otherwise, the upload starts when the Send button is clicked.

Default value is "false".