title: ASP: ontextchanged not firing
body: <p>Note:  I am brand new at ASP.NET.  I'm actually going to training on Monday, but we have a hot project that required me to dive in and get done as much as I can.</p>
  
  <p>I've got a textbox on my page, and I would like it to call an event on the server whenever it is changed.  I don't care if "changed" means changed and loses focus, or just whenever a keyup happens.  Either case will work.</p>
  
  <p>The issue is that, for some reason, whenever I change my textbox and then remove focus, the server-side method is not getting called.  Viewing through the debugger in Chrome, I don't even see any sort of AJAX call being made that would inform the server that a textbox was changed.</p>
  
  <p>My Code:</p>
  
  <h2>ASCX File</h2>
  
  <pre><code>    &lt;asp:UpdatePanel ID="UpdatePanel2" runat="server"&gt;
          &lt;ContentTemplate&gt;
              &lt;asp:TextBox ID="tempTagBuilder" runat="server" 
                  CssClass="depBuilder_tempTagBuilder" 
                  ontextchanged="tempTagBuilder_TextChanged" AutoPostBack="True"&gt;&lt;/asp:TextBox&gt;
          &lt;/ContentTemplate&gt;
      &lt;/asp:UpdatePanel&gt;
  </code></pre>
  
  <h2>ASCX.cs File</h2>
  
  <pre><code>    //whenever the text is changed
      protected void tempTagBuilder_TextChanged(object sender, EventArgs e)
      {
          System.Diagnostics.Debug.WriteLine("Hit");
      }
  </code></pre>
  
  <p>Anyone have a good idea of what my issue might be?</p>
  
  <h2>Update 1:</h2>
  
  <p>I got it working (somewhat).  I had to go into the updatepanel's properties and add the textchanged event to the triggers collection.  However, now whenever it sends the update it is emptying out the other textboxes on my page!  </p>