Value that shows if the specified item can be uploaded at all.

Syntax

Get/Set Value in Runtime

JavaScript

value = getImageUploader("ImageUploaderID").getPaneItemCanBeUploaded(Index);

Parameters

Index

A non-negative integer that specifies an index of a thumbnail item on a pane (zero-based). It should not exceed PaneItemCount - 1 for the implied pane. Depending on the layout mode, the following panes are implied:

  • In the one-pane layout mode, the upload pane is implied.
  • In the two-pane layout mode, the folder pane is implied.
  • In the three-pane layout mode, the folder pane is implied.

Property Value

A boolean value (true or false). If true, the item can be uploaded (added to the upload pane or checked).

Remarks

The value of this property depends on the layout mode being used. That is:

  • In the one-pane layout mode, this property always returns true.
  • In the two-pane layout mode, this property returns true for items that satisfy all specified restrictions and thus can be checked for upload.
  • In the three-pane layout mode, this property returns true for items that satisfy all specified restrictions and thus can be added to the upload pane.