this.myTextBox.TextChanged += new System.EventHandler(this.TextBox_Changed);The event to process:
private void TextBox_TextChanged(object sender, System.EventArgs e) { ((TextBox)sender).ForeColor = System.Drawing.Color.Red; }Pretty Simple. Note this does not change the color until after the page has been posted.