Raised when the user adds/removes any files to/from the upload list (or checks/unchecks them).
<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>
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.