Cannot display Files in Upload alone

3 posts, 0 answers
  1. Grant
    Grant avatar
    163 posts
    Member since:
    Jul 2016

    Posted 27 Nov 2019 Link to this post

    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. Grant
    Grant avatar
    163 posts
    Member since:
    Jul 2016

    Posted 27 Nov 2019 Link to this post

    Additionally how can I remove an uploaded file from the list, but without it needing to make a server request?
  3. Martin
    Admin
    Martin avatar
    224 posts

    Posted 29 Nov 2019 Link to this post

    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.
Back to Top