7 Answers, 1 is accepted
The Upload widget does not support data binding. We plan to add such support in the feature, but it will not be available in the short therm.
Our suggestion is to use a Grid for displaying the files that were already uploaded.
Apologies for the caused inconvenience.
Tsvetomir Tsonev
the Telerik team
You can use the file property that is documented here.
Regards,
Plamen
Telerik by Progress
The property 'files' - is what i was trying to use. But it works only if array are defined before widget init.
It's not so useful, as attachments are loaded via ajax and added to array, which won't appear in "upload" widget.
Going further, methods enable(), disable() don't help too.
Only manual creation of the widget after array is loaded helps, but it looks ugly and not obvious. You need to know where to search to find the initialization, instead of usual 'autobind:false' in config and bind the widget when You need.
Yes indeed with the current version recreation is the only possible solution for your scenario. Please excuse us for this inconvenience. You can submit a feature request about this behavior at our uservoice portal here.
Regards,
Plamen
Telerik by Progress
Hi,
Could we please know if this is available yet?
Hi,
The discussed behavior is not yet added to the Upload widget so in order to be achieve one should recreate it and set the files propert yto the desired ones.
Regards,
Plamen
Progress Telerik
Our thoughts here at Progress are with those affected by the outbreak.