RadioButton List Disabled Problem
-
Hi to all i used Radiobuttonlist for displaying the two radio buttons Gross & Net & also i am having a checkbox on form when i click this checkbox then this radio buttons should be enabled. I make this radiogross disabled on page load event. but it is not getting enabled.
-
Hi to all i used Radiobuttonlist for displaying the two radio buttons Gross & Net & also i am having a checkbox on form when i click this checkbox then this radio buttons should be enabled. I make this radiogross disabled on page load event. but it is not getting enabled.
I guees u should not use Radion Button List...
-
Hi to all i used Radiobuttonlist for displaying the two radio buttons Gross & Net & also i am having a checkbox on form when i click this checkbox then this radio buttons should be enabled. I make this radiogross disabled on page load event. but it is not getting enabled.
You can use this code make AutoPostback property true of the Checkbox Write this code in Page load
if (CheckBox1.Checked) { RadioButtonList1.Enabled = true; } else RadioButtonList1.Enabled = false;
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "