This is weird.
I'm using the AjaxFileUpload to upload customer pictures about their place of business to our site so that we can show them to perspective clients for those businesses. We allow up to 5 pictures. The AjaxFileUpload control is inside a div1 to begin with. If the user uploads 2 pictures for example then the AjaxFileUpload controls is moved to div3 and then the maximum number of files is set to 3. Everything works great as long as I don't try to upload a 5th file. Doesn't matter if it is a single file that will be the 5th picture or 5 files at a time because there were no pictures to begin with or any other combination as long as it is not the last file.
So you might think that there is something in the 5th div that causes the problem. There is no difference in the asp or html controls (except for the id's). Even if I change the maximum number to 4 then it is the 4th file that has the issue, in the 4th div, even though no asp or html controls have been changed. As long as the last file is not uploaded both the server side and the client side UploadCompleteAll fires just fine.
Also in all cases the UploadComplete even fires perfectly and I can get the file and process it.
I don't understand at all what to even try to either debug or how to work around the problem.
Any help greatly appreciated.