Raised when the user adds/removes any files to/from the upload list (or checks/unchecks them).
Syntax
JavaScript | ![]() |
---|---|
<script type="text/javascript" src="iuembed.js"></script> <script type="text/javascript"> function ImageUploaderID_UploadFileCountChange() { //...your code... } var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...params... //...other event listeners... iu.addEventListener("UploadFileCountChange", "ImageUploaderID_UploadFileCountChange"); //...other event listeners... iu.writeHtml(); </script> |
Remarks
To determine how many files are currently selected for the upload, use the UploadFileCount property. This event is useful if you implement custom buttons in HTML code , and you need to disable the Send button when no files are selected.
See Also
Examples
Customizing Upload PaneSpecifying Restrictions for Image Dimensions
Customizing Buttons
Open File Dialog Sample
Reference
AllowMultipleSelection PropertyFileIsTooLargeText Property
FileIsTooSmallText Property
MaxFileCount Property
MaxFileSize Property
MaxTotalFileSize Property
MessageFileSizeIsTooSmallText Property
MessageMaxFileCountExceededText Property
MessageMaxFileSizeExceededText Property
MessageMaxTotalFileSizeExceededText Property
MinFileSize Property
TotalFileSize Property
UploadFileCount Property
UploadFileAngle Property
UploadFileDescription Property
UploadFileFocused Property
UploadFileFormat Property
UploadFileGuid Property
UploadFileHeight Property
UploadFileHorizontalResolution Property
UploadFileName Property
UploadFileRemove Method
UploadFileSelected Property
UploadFileSize Property
UploadFileType Property
UploadFileVerticalResolution Property
UploadFileWidth Property
Index Property
Send Method
RemoveAllFromUploadList Method
RemoveFromUploadList Method