The case of the disappearing radio buttons - I wish
-
:confused:Hi there, I am BRAND SPANKING NEW to ASP and I have a site which shows 2 text boxes dynamically depending on a number that is entered into the "NumAdults" box. So if you enter "2", you get: text box, text box, text box, text box What I'm trying to do, is add a radio button to the mix. For example, if you entered "2", I want it to show text box, text box, radio button, text box text box, radio button. The code for the text boxes is working fine but the radio buttons won't work! The radio buttons are elements named rbmember1 through rbmember10. The code - (I've tried to add the radio buttons - please don't laugh) so far is as follows: - Please, can anyone see what I'm doing wrong here? { dlResidence.Value = pol.Pol.Residence; dlDestination.Value = pol.Pol.Destination; rbCoverageSingle.Checked = !pol.Pol.IsFamily; rbCoverageFamily.Checked = pol.Pol.IsFamily; txtNumAdults.Value = pol.Insureds.Count.ToString(); hdnSelectedPlan.Value = pol.Pol.PlanCode; for(int i=0;i