Author: falconmsdn | Posted on: 8/15/2008 10:24:06 AM | Views : 1230

I wish to made other server control like textbox enabled after selecting the drop down list during run time, can i do it?

protected void ddlGroupType_SelectedIndexChanged(object sender, EventArgs e)
    {
        int groupType;     
        groupType = ddlGroupType.SelectedIndex;

        if (groupType == 1)
        {
            ddlNoStud.Enabled = true;
            tbStud1.Enabled = true;
            tbStud2.Enabled = true;
            tbStud3.Enabled = true;
            tbS ...

Go to the complete details ...