After I
choose a file from RadUpload, I wonder how do I clear the file
selection, and leave the component in the initial state. That is, without any files selected.
Grateful,
1 Answer, 1 is accepted
0
Genady Sergeev
Telerik team
answered on 10 Jun 2010, 11:29 AM
Hello SMA SOFTWARE,
I am not sure what you scenario is, can you please clarify? If you want to reset the value of RadUpload for some reason you can do it the following way:
var inputs = $find("RadUpload1").getFileInputs();
for(var i = 0; i < inputs.length; i++) {
inputs[i].innerHTML = inputs[i].innerHTML;
}
Sincerely yours,
Genady Sergeev
the Telerik team
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 Public Issue Tracking
system and vote to affect the priority of the items.