Before adding Textbox to placeholder, just bind TextChanged event to it.
{
txtGainMark.TextChanged += new EventHandler(txtGainMark_TextChanged);
placeholder.Controls.Add(txtGainMark);
}
protected void txtGainMark_TextChanged(object sender, EventArgs e)
{
}
Ask, if any problem :)