The site I'm developing requires that the user manually specifies the total number of files they're submitting for later comparison with the total number of files they've uploaded...mostly as a precaution against forgotten files. My goal is to generate a dynamic file count as items are added so that I can compare the two counts prior to upload using Javascript.
I'm using the AjaxUploaded with the ManualStartUpload flag set but the OnAttachmentAdded event doesn't seem to fire and I'm assuming its because of the ManualStartUpload. Is there a way to get the file count as items are added when usng the ManualStartUpload flag?
<CuteWebUI:UploadAttachments ID="objUploader" runat="server" ManualStartUpload="true" MultipleFilesUpload="true" InsertButtonID="btnAddFile" OnUploadCompleted="UploadCompleted" OnAttachmentAdded="AttachmentAdded" >
<script runat="server">
Protected Sub AttachmentAdded(ByVal sender As Object, ByVal args As CuteWebUI.AttachmentItemEventArgs)
lblNumberFilesAdded.Text = objUploader.Items.Count.ToString
End Sub
</script>
Thanks for your help.
-Sean