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

ImageUploader.RememberLastVisitedFolder Property

Supported in: ActiveX , Java

Switch that indicates whether Image Uploader should remember the last visited folder.

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

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setRememberLastVisitedFolder(value);
value = getImageUploader("ImageUploaderID").getRememberLastVisitedFolder();

Property Value

A boolean value (true or false). If true, Image Uploader remembers the last folder visited by the user. This information is stored in the client computer registry. When the user opens the page with Image Uploader again, the file tree will be expanded on this folder. Otherwise, the top element of the file tree will be expanded.

Default value is "true".

See Also

Reference