Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
Cancel property in Infragistics.Web.UI.EditorControls.UploadFinishingEventArgs does not work.
posted

I am using the WebUpload control from the Infragistics.Web.UI.EditorControls namespace.

When I set e.Cancel = true in my UploadFinishing event handler it does not cancel the upload.  As a result the FileUploaded page event fires, even though the upload should have canceled.

What do I need to do to make this work?  Or do I need to do something myself, like delete the temporary file?

Parents
  • 37874
    posted

    Hi TedTeichrieb,

    If you want to cancel the upload, you should cancel the FileUploading client-side event:

    function onFileUploading(e, file) {
        return false;
    }

    Let me know if you have any questions.

Reply Children