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

ImageUploader.AdvancedDetailsIdleItemBackgroundColor Property

Supported in: ActiveX , Java

Background color of an item in AdvancedDetails view which indicates items which are pending for upload.

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

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setAdvancedDetailsIdleItemBackgroundColor(value);
value = getImageUploader("ImageUploaderID").getAdvancedDetailsIdleItemBackgroundColor();

Property Value

A color value specified as a hex representation of the RGB triad in HTML-style syntax (#rrggbb) or as a color name ("white" and so on) which defines a background color of an item which is pending for upload.

Note

See the full list of supported color names in MSDN. Pay attention that user-defined colors are not supported.

Default value is "#ffff99".

Remarks

If upload breaks (e.g. by the user cancellation), items was not uploaded yet are colored with this color as well. This way you can indicate which files should be re-uploaded.

See Also

Reference