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