How can I reset a clod control? I want an event to clear the uploaded files on subscribe of an event.
1 Answer, 1 is accepted
0
Petar Marchev
Telerik team
answered on 07 Mar 2016, 08:56 AM
Hello,
The RadCloudUpload owns the cloud-upload-files and allows you to clear them only when there are no uploading items. This means that you cannot clear the items at any given time. You can use the ItemStateChanged event of the RadCloudUpload and see if you can execute the ClearItems command.
If you need to have more control over the uploads, you can use the RadCloudUploadList and feed it with your custom CloudUploadFiles. This way it is not any Rad control that owsn the cloud-upload-files, but you, so you can virtually manipulate them in any way you need.
Regards,
Petar Marchev
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items