This project has moved and is read-only. For the latest updates, please go here.

Programmatically Setting UploadStatus (Cancel, Reject)

Mar 31, 2011 at 9:48 PM


I have a case where I need to programmatically set the uploadstatus of the current upload to 'rejected'. What object would I need to call or what method would I need to invoke to get NeatUpload to properly set the status to rejected (stopping the upload, updating the progress bar to inform the user the upload was rejected, etc.)? Would I need to throw a new UploadException? If I do have to throw that exception in my code, how will I get NeatUpload to catch it? I've been reading the manual but there is no clear cut example showing how to do this.