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

ImageUploader.AdvancedDetailsFailedItemBackgroundColor Property

Supported in: ActiveX , Java

Background color of an item in AdvancedDetails view which indicates that this item failed to be uploaded.

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

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setAdvancedDetailsFailedItemBackgroundColor(value);
value = getImageUploader("ImageUploaderID").getAdvancedDetailsFailedItemBackgroundColor();

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 of an item which failed to be uploaded.

Note

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

Default value is "#ff7905".

See Also

Reference