How to Enable Button while Enter text in textbox

Saranya Boopathi
Posted by Saranya Boopathi under C# category on | Points: 40 | Views : 731
protected void TextBox1_TextChanged(object sender, EventArgs e)
{
if(TextBox1.Text.Trim().Length > 0)
{
Button1.Enabled = true;
}
}

Comments or Responses

Login to post response