Clicking a RadUploadItem's "Delete" button whilst it's uploading does not cancel that upload

2 posts, 1 answers
  1. sherwin
    sherwin avatar
    3 posts
    Member since:
    Mar 2009

    Posted 29 May 2009 Link to this post

    Hi,

    I've noticed that if i click the delete button (IconDelete) of a RadUploadItem that is currently uploading, the item is removed from the list of files ok, but the upload continues to completion.  I would expect the upload of that particular RadUploadItem to be cancelled in this scenario.

    I am seeing this behaviour in th Q1 2009 release

    Currently i have a workaround, which is to prevent the user being able to click the delete buttons whilst an upload is in progress:

     private void RadUpload1_UploadStarted(object sender, UploadStartedEventArgs e) 
                foreach (RadUploadItem item in RadUpload1.ChildrenOfType<RadUploadItem>()) 
                { 
                    item.IsHitTestVisible = false
                } 

    On a similar tip, i find i need to disable the 'Browse' button whilst uploading is in progress, as my users get confused when they click it and it cancels the upload! I'm currently disabling it using a similar method to the above code, but it would be nice if this functionality was directly supported by RadUpload :-)

    Cheers,

    Sherwin




  2. Answer
    Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 29 May 2009 Link to this post

    Hello Sherwin,

    Thank you for reporting these issues.

    We are confirming they are reproducible. Actually the browse-button one is already scheduled for the upcoming Q2 release. We will do our best to fix the uploader's behavior till the end of the next week hence you shall get the new assemblies as an internal build even before the official Q2 release.

    Once again thank you for reporting the issues. Your Telerik points are updated.

    Best wishes,
    Ivan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
Back to Top