AjaxUploader:UploadAttachments continues to transfer after cancel

Last post 01-15-2009, 9:53 AM by cutechat. 3 replies.
Sort Posts: Previous Next
  •  01-14-2009, 4:29 PM 47753

    AjaxUploader:UploadAttachments continues to transfer after cancel

     
    Method:
     
    1. Use Firefox, running Firebug extension
        1. Open Firebug, and goto HTML tab, sub tab NET, or whatever it takes to see the http request beging transferred.
    2. Upload a large file from sample page http://ajaxuploader.com/Demo/multiple-files-upload.aspx 
    3. Cancel upload before completion ( near beginning so you have time to see what I mean )
     
    Result:
     
    1. POST multiple-files-upload.aspx.... continue to transfer all of the file, despite being cancelled.
     
    This is a major issue.
     
    Is there a fix, or something I need to do to prevent cancelled uploads being transferred after the cancel event?
     
    My .aspx code ( although there is more to the code behind vb.net ):
     
    <AjaxUploader:UploadAttachments ID="UploadAttachments1" runat="server" 
        RemoveButtonBehavior="Delete"
        ManualStartUpload="True"
        InsertText="Browse Files"
        ActionButtonBehavior="None"
        ShowCheckBoxes="False"
        ShowFileIcons="False"
        ShowRemoveButtons="False"
        TableHeaderTemplate="&lt;td nowrap='nowrap'&gt;&lt;/td&gt;&lt;td&gt;Uploaded Files&lt;/td&gt;"
        CancelAllMsg="Remove All" ProgressPanelWidth="610">
        <HeaderRowStyle Font-Bold="True" Width="100%" />
        <TableStyle CssClass="AjaxUploaderAttachmentsTable" Width="100%" />
    </AjaxUploader:UploadAttachments>
     
     
    Regards,
     
    Al Pieroway
     
     
  •  01-14-2009, 9:00 PM 47757 in reply to 47753

    Re: AjaxUploader:UploadAttachments continues to transfer after cancel

    Al Pieroway,
     
    Thank you .
     
    We have confirmed silverlight mode has this problem.
    We will fix it as soon as possible.
     
    Do you also have silverlight installed ?
    this page can test each mode.
     
    Regards,
    Terry
  •  01-15-2009, 9:34 AM 47774 in reply to 47757

    Re: AjaxUploader:UploadAttachments continues to transfer after cancel

    while i think i do have silverlight installed in my development environment, it is not something we use explicitly.   but, having it there does allow ajax uploader to use it, i guess.
     
    until you fix it, i may be best to switch to the flash method.  ( iframe is just not acceptable )
     
    my understanding is that UploadType="Flash"  will force the uploader to use flash to transfer files, but i seem to loose the ability to select multiple files in the file browser.  any ideas on why that is?
     
    al

  •  01-15-2009, 9:53 AM 47782 in reply to 47774

    Re: AjaxUploader:UploadAttachments continues to transfer after cancel

    the Flash mode means only use Flash , if the browser does not install the Flash , it would prompt the user to install it.
     
    You can also use Auto mode, and disable the silverlight by this way:
     
    uploader.SetAdvancedOption(UploaderAdvancedOption.NoSilverlight, "true");
     
    Regards,
    Terry
View as RSS news feed in XML