This is a migrated thread and some comments may be shown as answers.
Cannot display Files in Upload alone
2 Answers 3 Views
This is a migrated thread and some comments may be shown as answers.
Grant
Top achievements
Rank 1
Grant asked on 27 Nov 2019, 02:46 PM

Hi, 

Im having trouble displaying a list of initial files in the Upload widget. In this dojo (https://dojo.telerik.com/EtuxIgeM) I've set the initial files and they display, but if I remove the 'async' attribute, my files are no longer displayed.

I dont use the upload widget for Async uploading so I dont have these attributes. Please advise.

Thanks, 
Grant

2 Answers, 1 is accepted

Sort by
0
Grant
Top achievements
Rank 1
answered on 27 Nov 2019, 03:05 PM
Additionally how can I remove an uploaded file from the list, but without it needing to make a server request?
0
Martin
Telerik team
answered on 29 Nov 2019, 11:27 AM

Hello Grant,

Thank you for the provided Dojo example. If you look at the files configuration in the API reference, you can see that the option is only available in Async mode. Could you please share it there is a particular reason not to use the async uploding?

As for the second question, you can remove an item from the list without making a request with the clearFile method. Here is a Dojo example for reference.

I hope I was helpful. Let me know if you have further questions.

Regards,
Martin
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Asked by
Grant
Top achievements
Rank 1
Answers by
Grant
Top achievements
Rank 1
Martin
Telerik team
Share this question
or