Clear Upload List

2 posts, 0 answers
  1. Dustin
    Dustin avatar
    1 posts
    Member since:
    Apr 2012

    Posted 04 Aug 2014 Link to this post

    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.  
  2. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 07 Aug 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top