Hi mchamo,
You can try the following code:
protected void button1_Click(object sender, EventArgs e)
{
Attachment1.DeleteAllAttachments();
}
</script>
<html xmlns="
http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>example</title>
</head>
<body>
<form id="Form1" runat="server">
<CuteWebUI:UploadAttachments ID="Attachment1" runat="server">
</CuteWebUI:UploadAttachments>
<asp:Button ID="button1" runat="server" Text="Clean items" OnClick="button1_Click" />
</form>
</body>
</html>
Thanks for asking