Aurigma Image Uploader 5.0 Dual
ImageUploader.ShowContextMenu Property
See Also Supported in: ActiveX Java

Switch that specifies if the context menu should be available by a right-click on a folder or upload pane.

# Syntax

##### Initialize

JavaScript | Copy Code
--- | ---
    <script type="text/javascript" src="iuembed.js"></script>
    <script type="text/javascript">
    var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
    //...other params...
    iu.addParam("ShowContextMenu", "true");
    //...other params...
    iu.writeHtml();
    </script>

##### Get/Set Value in Runtime

JavaScript | Copy Code
--- | ---
    getImageUploader("ImageUploaderID").setShowContextMenu(value);
    value = getImageUploader("ImageUploaderID").getShowContextMenu();

##### Property Value

A boolean value (`true` or `false`). If `true`, the context menu is displayed when the user right-clicks a pane.

Default value is "true".

# Remarks

Using this menu the user can toggle between view modes (thumbnails, list, etc). They can also add files to the upload list or remove them from it.

# See Also

##### Examples

Customizing Appearance
Adding View Mode Switch

##### Reference

PaneLayout Property