How to clear the File List panel and upload file count on Upload Failure

2 posts, 0 answers
  1. Phani
    Phani avatar
    10 posts
    Member since:
    Mar 2015

    Posted 27 Jun 2015 Link to this post

    Dear Team,

    We are using CloudUpload Control and restricted the file size and type. On validation failed we are displaying an alert to the user. 

    Is it possible to manually clear the File List Panel Items and Upload File Count using Javascript?  I tried to remove by using the below lines but count is not getting cleared. Please suggest.

      $('.rcuList > li').remove()


    Thanks in advance


  2. Nencho
    Nencho avatar
    1446 posts

    Posted 01 Jul 2015 Link to this post

    Hello Phani,

    You can still use the approach that you have demonstrated :

    $('.rcuList > li').remove()

    In addition, you can use the rcuUploadedFiles and rcuTotalFiles classes to manage the count in a preferable manner again using jQuery.


    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top