ok im trying to make a textbox and label appear when the user selects "Other" from the drop down list, this is the code i have but for some reason its not doing anything when "Other" is selected.
Im using VS2003, C# Webform.
Code:private void ddlReason_SelectedIndexChanged(object sender, System.EventArgs e) { if (ddlReason.SelectedValue == "Other") { this.txtOtherReason.Visible = true; this.lblOtherReason.Visible = true; } }




Reply With Quote