RadAsyncUpload does not clear uploaded files?

Thread is closed for posting
3 posts, 0 answers
  1. Hervé
    Hervé avatar
    2 posts
    Member since:
    Sep 2010

    Posted 10 Nov 2010 Link to this post

    Hi, I'm using RadAsyncUpload to let the user upload a file (one row only). Once a file uploaded if I check the "remove" cross button and post back the page, the file is sent to the server because it was not removed from the uploaded files.

    The C# call
    if (RadAsyncUpload1.UploadedFiles.Count == 0 ) is false.

    I tried to add a javascript code to clear up but it didn't work.
    What should I do ?
    - is there a way server side to select only the file which is shown in the RadAsyncUpload Textbox?
    - or is there a way to clear that uploaded file list if I click on the remove button?


  2. Genady Sergeev
    Genady Sergeev avatar
    1600 posts

    Posted 16 Nov 2010 Link to this post

    Hi Hervé,

    Which version of RadAsyncUpload do you use? Such problem used to exist in earlier versions, but we have fixed it for Q2 2010 and above.

    As for whether it is possible to remove the files, please If it is not possible to upgrade specify what version do you use and we will provide you with a workaround.

    Kind regards,
    Genady Sergeev
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. Hervé
    Hervé avatar
    2 posts
    Member since:
    Sep 2010

    Posted 18 Nov 2010 Link to this post

    You were right. I was using Q1 2010 version and the upgrade fixed the problem.
    Great, thanks!

Back to Top