Declined
Last Updated: 21 Sep 2021 11:23 by ADMIN
Tony
Created on: 04 Jun 2014 09:30
Category: Upload
Type: Feature Request
5
Make the Upload widget bindable to a datasource
In order to be able to manage files attached to server objects, it would be nice if we could bind the Upload widget to a datasource. 
The read() method of the datasource could be used to load the widget with the list of files attached to a given server object. 
The create() method would be used to upload new files to the sever.
The destroy() method would be used for deleting existing files on the server.

This would make the upload widget more consistent with other widgets like the combo boxes or the dropdown lists.
1 comment
ADMIN
Ianko
Posted on: 21 Sep 2021 11:23

Hello Tony,

The primary idea of the widget is to serve as an alternative to the HTML upload input. Plus, accomplish specific file upload operations like drag and drop, async upload, batch upload and so on. All those features are not compatible with the DataSource utility.

What you described could be a component that includes the Upload to handle file uploading. But the other bits should be rather considered as a different aspect and handled via the DataSource. If you are looking for a ready-to0use solution you can take a look at the FileManager that can be used in such a scenario and it utilizes the DataSource: https://demos.telerik.com/kendo-ui/filemanager/index

Regards,
Ianko
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.