Ultimate Uploader v1.6
JavaScript events
  Home page
Contact support

Events

For more information about usage of JavaScript events see JavaScript quick start section.

Event name Static event name Occurrence condition Event arguments Handler setting example
- onInit Ultimate Uploader inited and ready to work. no function onInit() {alert('Uploader inited');}
FilesAdd onAddFiles Files added to the list File[] Files
uploadController.FilesAdd = MyAddHandler;
FilesRemove onRemoveFiles Files removed from list. File[] Files uploadController.FilesRemove = MyRemoveHandler;
- onClearList File list cleared. no function onClearList() {alert('all files removed');}
UploadStarted onUploadStart Start of upload process. no uploadController.UploadStarted = MyStartHandler;
UploadCompleted onUploadComplete End of upload process. no uploadController.UploadCompleted = MyCompleteHandler;
UploadCancelled onUploadCancel Cancellation of upload process. no uploadController.UploadCancelled = MyCancelHandler;
UploadPaused onUploadPause Pause of upload process. no uploadController.UploadPaused = MyPauseHandler;
UploadFileStarted onFileUploadStart Start of the specific file upload. string Id
string FileName
string FileSize (in bytes)
string ServerResponse
string ErrorMessage
string FileComment
string Tag
string BytesUploaded
uploadController.UploadFileStarted = MyFileStartHandler;
UploadFileCompleted onFileUploadComplete End of the specific file upload. string Id
string FileName
string FileSize (in bytes)
string ServerResponse
string ErrorMessage
string FileComment
string Tag
string BytesUploaded
uploadController.UploadFileCompleted = MyFileCompleteHandler;
UploadFileCancelled onFileUploadCancel Cancellation of the specific file upload. string Id
string FileName
string FileSize (in bytes)
string ServerResponse
string ErrorMessage
string FileComment
string Tag
string BytesUploaded
uploadController.UploadFileCancelled = MyFileCancelHandler;
UploadFileResumed onFileUploadResume Resumption of the specific file upload. string Id
string FileName
string FileSize (in bytes)
string ServerResponse
string ErrorMessage
string FileComment
string Tag
string BytesUploaded
uploadController.UploadFileResumed = MyFileResumeHandler;
UploadFileProgress onFileUploadProgress Progress of the specific file upload. string Id
string FileName
string FileSize (in bytes)
string ServerResponse
string ErrorMessage
string FileComment
string Tag
string BytesUploaded
uploadController.UploadFileProgress = MyFileProgressHandler;
UploadError onError Error occured during upload. string Id
string FileName
string FileSize (in bytes)
string ServerResponse
string ErrorMessage
string FileComment
string Tag
string BytesUploaded
uploadController.UploadError = MyErrorHandler;