Value that shows if the specified item can be uploaded at all.
Syntax
Get/Set Value in Runtime
| JavaScript | Copy Code
|
|---|---|
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 - 1for 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 false, 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
truefor items that satisfy all specified restrictions and thus can be checked for upload. - In the three-pane layout mode, this property returns
truefor items that satisfy all specified restrictions and thus can be added to the upload pane.
Copy Code