'Checked' is a bool property of the RadioButtonList.
So, you would replace that with
if (this.RadioButtonContatto.Checked)
{
...
}
> 'Checked' is a bool property of the RadioButtonList.
>
[quoted text clipped - 5 lines]
>
> }
Ok, thanks, but i have two options: how do i make the system do
something if one of this two options is selected?
For example: if selected YES, do this, else do something else.
My problem is that having a Radiobutton list, i need the system do
something only if the YES button is checked.
Thanks
Troye Stonich - 08 Oct 2007 14:33 GMT
ok sorry, you'll have to look at the "SelectedValue" string property of the
RadioButtonList.
if (this.RadioButtonContatto.SelectedValue == "YES")
{
...
}
>> 'Checked' is a bool property of the RadioButtonList.
>>
[quoted text clipped - 15 lines]
>
> Thanks