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. scripting related

scripting related

Scheduled Pinned Locked Moved ASP.NET
csharphtmlasp-nettoolsquestion
2 Posts 2 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.
  • S Offline
    S Offline
    smitab
    wrote on last edited by
    #1

    hi all, i m using asp.net1.1 and code behind c#. i m using a check box(html controler)and a radio btn list(web controler). when i check d check box i want visible d radio btn list..and when i unchk d chkbox it must b invisible...is this possible? how'ld i write d script? ------ sam.

    M 1 Reply Last reply
    0
    • S smitab

      hi all, i m using asp.net1.1 and code behind c#. i m using a check box(html controler)and a radio btn list(web controler). when i check d check box i want visible d radio btn list..and when i unchk d chkbox it must b invisible...is this possible? how'ld i write d script? ------ sam.

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi there, Here are the things that you might need to do: + Create an event handler for the client side event onclick of the checkbox element. + In the event handler, you can make the radiobuttonlist visible/invisible based on the checked value of the checkbox. + You first need to get reference to the radiobuttonlist at client side with the getElementById[^], then use either the display[^] or visibility[^] property to show/hide element.

      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