I'm using the igUpload control with the AutoStartUpload feature. I have a button that is external to the igUpload control that can delete the files on the server. This works fine, and I use the $('#igUpload1').igUpload("clearAll"); command to clear out the uploaded file list in the igUpload.
My problem is that when I upload a file, then clear it, and then upload another file, the control says "2 of 2 uploaded". How do I reset the counter for the number of uploaded files?
Thanks, Paul
Hello Paul,
I'm glad that you were able to resolve your issue.
Best regards,Martin PavlovInfragistics, Inc.
Yes, this works perfectly. Thanks!
I'm checking to see whether you were able to resolve your issue.
You have 2 options:
1. Configure igUpload.mode = "single"
2. When you call "clearAll" also set the following properties:
$("#igUpload1").data("igUpload").fileInfoData.countTotalFiles = 0;$("#igUpload1").data("igUpload").fileInfoData.countUploadingFiles = 0;
Hope this helps,Martin PavlovInfragistics, Inc.