Hiexperts, I am trying to visible and invisible a few questions based on the selected item they choose from a radio button list. Is tehre anything I am missing, it works well if I use Enabled and disable, but i wanted to have it visible and invisible.
this is some part of the code i have.
protected void rdlPregnant_SelectedIndexChanged(object sender, EventArgs e)
rdbPrenatalCare.Enabled = true;
rdbGainWeight.Enabled = true
rdbPrenatalCare.Enabled = false;
rdbGainWeight.Enabled = false;
I am using ajax as well.
<telerikAJAX:AjaxUpdatedControl ControlID="rdbPrenatalCare" LoadingPanelID="AjaxLoadingPanel1" />
I have more questions to make it invisible. not just radio buttons but also labels in asp.net. When I change the selected index, the control no longer works.