Switch that enables/disables caching of image buttons (when XXXImageFormat properties are used).
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("CacheGuiGraphics", "false"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setCacheGuiGraphics(value); value = getImageUploader("ImageUploaderID").getCacheGuiGraphics();
A boolean value (true
or false
). If true
, images specified in
XXXImageFormat
properties will be cached by the browser. It means that when the
user reloads the page with Image Uploader, button images will not be downloaded from the server again, and local copy will be used.
If false
specified, Image Uploader will download button images every time the page is reloaded.
Default value is "false".
If you enable user interface graphics caching, it is highly recommended to use the GuiGraphicsVersion property. It enables you to track changes in the graphics and update these images automatically.