This is a migrated thread and some comments may be shown as answers.

RadAsyncUpload does not clear uploaded files?

2 Answers 156 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Hervé
Top achievements
Rank 1
Hervé asked on 10 Nov 2010, 10:34 PM

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?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 16 Nov 2010, 12:44 PM
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.
0
Hervé
Top achievements
Rank 1
answered on 18 Nov 2010, 10:23 PM

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

Regards,
Hervé
Tags
Upload (Obsolete)
Asked by
Hervé
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Hervé
Top achievements
Rank 1
Share this question
or