File list update, on UploadAttachments1_FileUploaded()

Last post 01-07-2009, 1:41 PM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  01-07-2009, 10:58 AM 47517

    File list update, on UploadAttachments1_FileUploaded()

    When a file completes uploading, and the _FileUploaded() event fires, I move the file to a new location.
     
    Can I then force an update on the list of files being uploaded to remove that file from the list...  essentially causing the list to shrink as they are uploaded? 
     
    Or, does that list ONLY get updated once all files are uploaded?

    Al
  •  01-07-2009, 1:41 PM 47525 in reply to 47517

    Re: File list update, on UploadAttachments1_FileUploaded()

    Hi,
     
    If you move the file in the FileUploaded event, the file would not be added into the attachment collection.
     
    If you want to control the attachment collection , and want to add items into the collection,
     
    you need check our advanced example code. the EditTopic.aspx page.
     
    Regards,
    Terry
View as RSS news feed in XML