title: AjaxFileUpload doesn't fire OnUploadComplete Event
body: <p>i am trying to get that <code>AjaxFileUpload</code>-Control(used in ContentPage) working. But it does not fire <code>OnUploadComplete</code> Event at server side</p>
  
  <p>I am using version <code>4.1.60919.0</code> of the ControlToolkit. I have tried everything i found on the internet. </p>
  
  <p>Here just a few steps:</p>
  
  <ul>
  <li>Added enctype="multipart/form-data" method="post" to the form-element in my MasterPage</li>
  <li>Nested the AjaxFileUpload into an UpdatePanel with UpdateMode=Always</li>
  <li>Tried events UploadedComplete and OnUploadComplete, but stayed at the second one</li>
  <li>Added a try-catch-block in the EventHandler to catch unknown exceptions and print the ExceptionMessage to a label on the site --> nothing happened</li>
  <li>Tried it with(out) a ThrobberImage...</li>
  <li>Many other tipps that did not work...</li>
  </ul>
  
  <p>So, i hope we will find a solution together in this community. Heres my markup:</p>
  
  <pre><code>&lt;%@ Page Title="New Download" Language="C#" MasterPageFile="~/MasterPage.master"     AutoEventWireup="true" CodeFile="NewDownload.aspx.cs" Inherits="Internals_NewDownload" %&gt;
  </code></pre>
  
  
  
  <pre><code>&lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server"&gt;
  &lt;/asp:Content&gt;
  &lt;asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server"&gt;
  
  &lt;ajax:ToolkitScriptManager ID="ToolkitscriptManager" runat="server"&gt;    &lt;/ajax:ToolkitScriptManager&gt;
  &lt;h1&gt;Create a new Download&lt;/h1&gt;
  
          &lt;ajax:AjaxFileUpload ID="FileUpload" runat="server" ThrobberID="ThrobberLabel" OnUploadComplete="FileUpload_UploadComplete" /&gt;
          &lt;asp:Label ID="ThrobberLabel" runat="server" Style="display: none;"&gt;&lt;img alt="UploadingPicture" title="Please wait while uploading..." src='&lt;%= Constants.DomainString + "/Data/Images/loading-small.gif" %&gt;' /&gt;&lt;/asp:Label&gt;
          &lt;asp:Label ID="DownloadLabel" runat="server"&gt;&lt;/asp:Label&gt;
  
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>And this is my CodeBehind:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.UI;
  using System.Web.UI.WebControls;
  
  public partial class Internals_NewDownload : System.Web.UI.Page
  {
  private string m_LanguageCode;
  
  protected void Page_Load(object sender, EventArgs e)
  {
      if (RouteData.Values.ContainsKey("LanguageCode"))
          m_LanguageCode = RouteData.Values["LanguageCode"].ToString();
  
      //if (IsPostBack)
      //    return;
      if (!User.IsInRole("Administrator") &amp;&amp; !User.IsInRole("Kunde") &amp;&amp; !User.IsInRole("Mitarbeiter"))
          Response.Redirect(Constants.DomainString + "/PermissionDenied.aspx");
      Session[Constants.NonGlobalizedString] = true;
      Session[Constants.MenuInfoSession] = new ClsMenuInfo("NewDownload");
  }
  
  protected void FileUpload_UploadComplete(object sender,     AjaxControlToolkit.AjaxFileUploadEventArgs e)
  {
      try
      {
          string filePath = "~/upload/" + e.FileName;
          DownloadLabel.Text = filePath;
      }
      catch (Exception ex)
      {
          DownloadLabel.Text = ex.Message;
      }
  }
  }
  </code></pre>
  
  <p>Please, if you have ANY idea, do not hesitate to let me know it. I am very confused as i think that i just did in that howtos i found on the internet...</p>
  
  <p>Thanks in advance!</p>