I need to be able to call the DeleteAllAttachments() from Javascript, is it possible? I have not been able to get this code or something similar to work, please help.
- <script type="text/javascript">
- var uploaderid='<%=UploadAttachments1.ClientID %>';
- function DoDeleteAllAttachments()
- {
- var uploader=document.getElementById(uploaderid);
- uploader.deleteallattachments();
- }