Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
<
input
type
=
"button"
value
"Clear All"
onclick
"myClearAll()"
/>
script
"text/javascript"
>
function myClearAll()
{
var upload = GetRadUpload('<%= RadUpload1.ClientID %>');
var fileInputs = upload.GetFileInputs();
for (var i=0; i<
fileInputs.length
; i++)
upload.ClearFileInputAt(i);
}
</script>
telerik:RadButton
ID
"RadButton1"
runat
"server"
Text
"Clear Files"
OnClientClicked
"clearAll"
</
<script type=
function
clearAll(sender, args) {
var
upload = $find(
"<%= RadAsyncUpload1.ClientID %>"
);
inputs = upload.getUploadedFiles();
for
(
i = 0; i < inputs.length; i++) {
upload.deleteFileInputAt(i);