How to reste "file uploaded successfully"?

I have a modal popup where I select a file and then if I cancel the modal and re-open it the last file I uploaded is selected. 

How can I reset this selection in code? So when I re-open the modal window test.mp4 is not shown.




3 Replies

BC Berly Christopher Syncfusion Team December 28, 2021 12:12 PM UTC

Hi Sturla, 
  
We can clear the file list using ClearAllAsync() public method in the Uploader component.  
  
  
Regards, 
Berly B.C 



RL Robert Leifsson December 28, 2021 08:13 PM UTC



BC Berly Christopher Syncfusion Team December 29, 2021 11:09 AM UTC

Hi Sturla, 
  
We are glad to know that the issue is resolved in your end. Please let us know if you need further assistance on this. 
  
Regards, 
Berly B.C 


Loader.
Up arrow icon