Clears the selection from all files.

Syntax

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

Remarks

It works in the same manner as if the Deselect All button was clicked. It can be used to create custom buttons in the HTML code.

NoteNote

Although the behavior of the Deselect All button can be changed to uncheck the files immediately upon the button click (using the CheckFilesBySelectAllButton property), this method always clears the selection from files regardless of the CheckFilesBySelectAllButton property value. This is a behavior by design (because of security reasons).

See Also

Examples
Customizing Buttons

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