When I select more than one file and click upload. the First file goes through the sequence turns green and is done uploading.
The second file does not even start. Also clicking cancel does nothing.
Does the uploadComplete Event fire for each file being uploaded ?
protected void AjaxFileUpload1_UploadComplete(object sender, AjaxControlToolkit.AjaxFileUploadEventArgs e)
{
photo[imgCount++] = e.GetContents();
} //imgCount and photo are static variables of the page that are only refreshed once. i.e. !Page.IsPostBack
.NET 4 and Chrome 20
Comments: Started working. When I removed client scripts. Which work normally but didnt due to other controls form teh same toolkit on teh same page. function uploadComplete(sender, args) { $get("<%=lblMesg.ClientID%>").innerHTML = "Files uploaded successfully"; } function uploadError(sender) { $get("<%=lblMesg.ClientID%>").innerHTML = "File upload failed."; } New Issue is the property MaximumNumberOfFiles="2". Dosen't seem to prevent more than 2 files from being uploaded. Only prevents 2 at a time. Meaning if you selected 2 at a time it would allow unlimited.
The second file does not even start. Also clicking cancel does nothing.
Does the uploadComplete Event fire for each file being uploaded ?
protected void AjaxFileUpload1_UploadComplete(object sender, AjaxControlToolkit.AjaxFileUploadEventArgs e)
{
photo[imgCount++] = e.GetContents();
} //imgCount and photo are static variables of the page that are only refreshed once. i.e. !Page.IsPostBack
.NET 4 and Chrome 20
Comments: Started working. When I removed client scripts. Which work normally but didnt due to other controls form teh same toolkit on teh same page. function uploadComplete(sender, args) { $get("<%=lblMesg.ClientID%>").innerHTML = "Files uploaded successfully"; } function uploadError(sender) { $get("<%=lblMesg.ClientID%>").innerHTML = "File upload failed."; } New Issue is the property MaximumNumberOfFiles="2". Dosen't seem to prevent more than 2 files from being uploaded. Only prevents 2 at a time. Meaning if you selected 2 at a time it would allow unlimited.