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

ImageUploader.PostFormat Property

Supported in: ActiveX , Java

POST request format used by Image Uploader to upload files.

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

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setPostFormat(value);
value = getImageUploader("ImageUploaderID").getPostFormat();

Property Value

A member of the following enumeration that specifies POST format:

String valueInteger valueDescription
Common0Default Image Uploader POST format.
Rfc18671Rfc1867 standardized POST format.
Note

When you get this property value through the JavaScript, integer value will be returned (even if you initialize the property with a string value).

Default value is "Common".