rediobutton
-
i have a rediobutton and a dropdownlist and when the form loaded rediobutton.checked = false and dropdownlist be disable(means dropdownlist.enable = false) and i want after load when i select rediobutton (means rediobutton.checked = true) dropdownlist be enable how can i do this work
-
i have a rediobutton and a dropdownlist and when the form loaded rediobutton.checked = false and dropdownlist be disable(means dropdownlist.enable = false) and i want after load when i select rediobutton (means rediobutton.checked = true) dropdownlist be enable how can i do this work
just set the autopostback property of radio button true, then on RadioButton1_CheckedChanged event write dropdown.enabled=true; coolsweety -- modified at 9:05 Thursday 20th April, 2006
-
i have a rediobutton and a dropdownlist and when the form loaded rediobutton.checked = false and dropdownlist be disable(means dropdownlist.enable = false) and i want after load when i select rediobutton (means rediobutton.checked = true) dropdownlist be enable how can i do this work
Hey, You need to set the radionbutton AutoPostback property to 'true'.. Then by double clicking the radiobutton, VS creates a method radiobutton_checkedchanger(..) where you write the code to enable the dropdownlist.. I'd rather suggest you use a checkbox instead of a radiobutton. Good luck.
-
Hey, You need to set the radionbutton AutoPostback property to 'true'.. Then by double clicking the radiobutton, VS creates a method radiobutton_checkedchanger(..) where you write the code to enable the dropdownlist.. I'd rather suggest you use a checkbox instead of a radiobutton. Good luck.