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

ImageUploader.RedirectUrl Property

Supported in: ActiveX , Java

URL to which the user will be redirected when the upload successfully completes.

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

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setRedirectUrl(value);
value = getImageUploader("ImageUploaderID").getRedirectUrl();

Property Value

A string value containing a correct URL to which the user will be redirected after upload. If it is an empty string, Image Uploader will not try to redirect.

Default value is "".

See Also

Manual

Reference