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

Clear Upload List

1 Answer 25 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Dustin
Top achievements
Rank 1
Dustin asked on 04 Aug 2014, 03:45 PM
If I upload 3 files and then upload 2 more, the upload list shows all 5 files. I want to clear the list so only the 2 new ones show.  The situation I have is that I have an upload form who's visibility is toggled on the screen.  Once they upload, it is hidden. They can then go into another "folder" (all using ajax on the same page) and then show the upload portion and upload again. To them, it is a new upload but to the upload component, it is another upload and thus it shows the previous items as well as the new items.  

1 Answer, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 07 Aug 2014, 08:30 AM
Hi Dustin,

In case that you remove the already uploaded files from the list you will not have an access to them on the server. Here are my suggestions for your scenario:
 - update the RadAsyncUpload control when an ajax postback occurs. The control's file list will be cleared after a postback.
 - use more than one RadAsyncUpload on the page and show a control for a particular case.

Regards,
Peter Filipov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
AsyncUpload
Asked by
Dustin
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Share this question
or