3 Answers, 1 is accepted
0
Hello Jim,
This functionality is currently being developed for the Upload widget. We will add several API methods which will allow the developer to reset the widget according to different conditions. At the moment, a possible workaround is to destroy the widget and recreate it again.
Regards,Dimiter Madjarov
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
0

Jonathan
Top achievements
Rank 1
answered on 21 Jun 2017, 08:43 PM
Any word on a reset method? I'm still doing this:
$("#uxRelatedDocumentUploadDiv .k-upload-files").remove();
$("#uxRelatedDocumentUploadDiv .k-upload-status").remove();
$("#uxRelatedDocumentUploadDiv .k-upload.k-header").addClass("k-upload-empty");
$("#uxRelatedDocumentUploadDiv .k-upload-button").removeClass("k-state-focused");
0
Hi Jonathan,
Yes, you could use the clearAllFiles or removeAllFiles method to achieve the task.
Regards,
Dimiter Madjarov
Progress Telerik
Yes, you could use the clearAllFiles or removeAllFiles method to achieve the task.
Regards,
Dimiter Madjarov
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which
deliver the business app essential building blocks - a grid component,
data visualization (charts) and form elements.