'Delete All' Event Capture Server Side

  •  04-06-2009, 8:35 AM

    'Delete All' Event Capture Server Side

     
    The AttachmentRemoveClicked event is fine(accessible on sever side) on removal of individual attachments(clicking remove). But I need to capture the server side event that deletes all attachments.
     
    My scenario:
     
    1. whilst uploading, I disable the forms submit button and enable it when uploading is complete. (no problem)
     
    2. When a file/s are uploaded, I put each in their own byte array (no problem)
     
    3. If a user removes attachments by clicking 'delete all', I need to clear the byte arrays when that event occurs (PROBLEM)
     
    Note: before anyone asks: the AttachmentRemoveClicked event does NOT fire multiple (for each attachment) times during 3.
     
    Can anyone please help with this or give some insightful input???
     
     
     
    UPDATE:
     
    Nevermind, got it sorted - too much coffee, lol
View Complete Thread