This is a migrated thread and some comments may be shown as answers.

How do I reset a cloud control

1 Answer 81 Views
CloudUpload
This is a migrated thread and some comments may be shown as answers.
ADS Development Team
Top achievements
Rank 1
ADS Development Team asked on 04 Mar 2016, 12:50 PM
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

Sort by
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
Tags
CloudUpload
Asked by
ADS Development Team
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or