Delete a File from the Specified Position
The following example shows how to use the C1Upload.RemoveFileInput client-side method:
<cc1:c1upload runat="server" id="C1Upload1" />
<input type="button" value="Delete second file" onclick="DeleteSecondFile()" />
...
<script>
function DeleteSecondFile()
{
<%= C1Upload1.ClientID %>.removeFileInput(1);
}
</script>
|