Selects all the files in the folder pane.

Syntax

JavaScript CopyCode imageCopy Code
getImageUploader("ImageUploaderID").SelectAll();

Remarks

It works in the same manner as if the Select All button is clicked.

NoteNote

The files are not added to the upload list or checked. The user must check files (or drag them to upload list) manually. This behavior has been defined intentionally because of security reasons. It prevents the possibility to steal the files from the last visited folder without user knowledge (by calling the SelectAll and Send methods). Although the behavior of the Select All button can be changed to check the files immediately (using the CheckFilesBySelectAllButton property), this method always just highlights files without adding them to upload list, regardless to the CheckFilesBySelectAllButton property value.

See Also

Examples
Customizing Buttons

Reference
CheckFilesBySelectAllButton Property
UploadFileCountChange Event
ButtonDeselectAllText Property
ButtonSelectAllText Property
DeselectAll Method
RemoveAllFromUploadList Method
RemoveFromUploadList Method