title: My TextChanged event on a dynamically created textbox in a custom BoundField never fires?
body: <p>I'm trying to make a custom <code>BoundField</code> (Column) for my custom <code>GridView</code>.  I added textboxes to the <code>FooterRow</code> to manage filtering on columns.  It displays well, but the <code>TextChanged</code> event is never raised.  I guess it is because the textboxes are recreated on each postback, and not persisted.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>public class Column : BoundField
  {
      public override void InitializeCell(DataControlFieldCell cell, DataControlCellType cellType, DataControlRowState rowState, int rowIndex)
      {
          base.InitializeCell(cell, cellType, rowState, rowIndex);
          if (cellType == DataControlCellType.Footer)
          {
              TextBox txtFilter = new TextBox();
              txtFilter.ID = Guid.NewGuid().ToString();
              txtFilter.Text = "";
              txtFilter.AutoPostBack = true;
              txtFilter.TextChanged += new EventHandler(txtFilter_TextChanged);
              cell.Controls.Add(txtFilter);
          }
      }
  
      protected void txtFilter_TextChanged(object sender, EventArgs e)
      {
          // Never get here
      }
  }
  </code></pre>
  
  <p>I tried with a checkbox, and it worked.</p>