Showing already saved files in Kendo UI load using MVVM declarative method

I have a requirement when I use Telerik KENDO UI's upload control to upload new files as well as show already saved files.

I want to do this using the declarative MVVM way

<input name="files" id="files" type="file" data-role="upload"
       data-multiple="true" 
       data-async='{ "saveUrl":"SaveRequestFile", 
                     "removeUrl": "RemoveRequestFile", 
                     "autoUpload": true}'
       data-bind='events:{ upload: onUpload, remove:onRemove, error:onError}' 
       required 
       data-required-msg="File is required" 
       data-files="filesUploaded" >

      

How do I use data files in the above scenario?

+3


source to share





All Articles