select either textarea or radiobutton
Hi
I am developing a web application in that i have registration form.
In that I placed one text area and radio button.I have to select one of them.if i select radiobutton it will disable textarea and if select textarea then disable radiobutton.
I wrote the code like this
if (RadioButton1.Checked==false)
{
txtadddomains.Visible= true;
}
else
{
txtadddomains.Visible= false;
}
But it is not working.
Please give some information.
Regards,
Pavani
|