Hi,
Set the AutoPostBack property of textbox to true.
Use this:
protected void tb1_TextChanged(object sender, EventArgs e)
{
TextBox tb1 = new TextBox();
tb1.ID = "txt0";
tb1.AutoPostBack = true;
tb1.TextChanged += new EventHandler(tb1_TextChanged);
t1.Visible = false;
}
protected someEvents(object sender, EventArgs e)
{
TextBox t1=(TextBox)Page.FindControl("txt0")
t1.Visible = true;
}
protected void tb1_TextChanged(object sender, EventArgs e)
{
string tbvalue1 = string.Empty;
string tbvalue2 = string.Empty;
}
--Amit