Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. The case of the disappearing radio buttons - I wish

The case of the disappearing radio buttons - I wish

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    boukaka
    wrote on last edited by
    #1

    :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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups