[Solved] Show text box after choose in drop down list


protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
    if (DropDownList1.SelectedItem.Text == "A")
    {
        TextBox1.Visible = true;
        TextBox2.Visible = true;
        TextBox3.Visible = true;
        TextBox4.Visible = true;
        TextBox5.Visible = true;
    }
    else
    { 
        // do something
    }

}

By default, make sure you set the Visible property of the Textbox controls to False.
Enable the AutoPostBack of the DropDownList control to True.

2

solved Show text box after choose in drop down list