The AjaxFileUpload control appears to be completely broken in the 15.1 update. OnUploadComplete doesn't fire, none of the OnClient* functions fire. It's completely useless.
```
<ajaxToolkit:AjaxFileUpload ID="AjaxFileUpload1" runat="server" OnUploadComplete="AjaxFileUpload1_UploadComplete" />
```
```
protected void AjaxFileUpload1_UploadComplete(object sender, AjaxControlToolkit.AjaxFileUploadEventArgs e)
{
//Putting a breakpoint here proves it's not even getting here. None of this code gets executed.
string FilePath = "~/Uploads/AllState/FEMEA/" + DateTime.Now.Year.ToString() + "/" + Request.QueryString["AuditionsID"] + "/";
string FileDirectory = Server.MapPath(FilePath);
System.IO.Directory.CreateDirectory(FileDirectory);
string FileName = Request.QueryString["AllStateStudentID"] + "_" + ClassFunctions.FilterFilename(e.FileName);
AjaxFileUpload1.SaveAs(FileDirectory + FileName);
Response.Redirect(Request.Url.ToString());
}
```
Comments: Thank you for sharing your experience! We'll keep it in mind during our future work.
```
<ajaxToolkit:AjaxFileUpload ID="AjaxFileUpload1" runat="server" OnUploadComplete="AjaxFileUpload1_UploadComplete" />
```
```
protected void AjaxFileUpload1_UploadComplete(object sender, AjaxControlToolkit.AjaxFileUploadEventArgs e)
{
//Putting a breakpoint here proves it's not even getting here. None of this code gets executed.
string FilePath = "~/Uploads/AllState/FEMEA/" + DateTime.Now.Year.ToString() + "/" + Request.QueryString["AuditionsID"] + "/";
string FileDirectory = Server.MapPath(FilePath);
System.IO.Directory.CreateDirectory(FileDirectory);
string FileName = Request.QueryString["AllStateStudentID"] + "_" + ClassFunctions.FilterFilename(e.FileName);
AjaxFileUpload1.SaveAs(FileDirectory + FileName);
Response.Redirect(Request.Url.ToString());
}
```
Comments: Thank you for sharing your experience! We'll keep it in mind during our future work.