.NET 2.0 C# VS make dropdownlist visible/invisible via radio button control (client side)
Posted on 2006-07-17
I have a radiobuttonlist with 2 choices, "car" or "truck".
If "car" is selected, I want 2 different dropdownlists (dd1 and dd2) to appear!
However if " truck" is selected, I want dropdownlist (dd3) to appear and dd1 and dd2 to disappear.
The opposite is true if "car" is selected, dd3 will disappear and dd1 and dd2 will appear again.
When the web page first appears, dd1, dd2 and dd3 dropdownlists are all invisible and radiobuttonlist is not selected ?
Need something simple.
Thanks for help here.