I have a number of own UserControl
s on a page. Each has the same type and a radio button inside. How can I force only one RadioButton
to be checked?
I did next:
class myControl : UserControl
{
[Category("Settings")]
public string GroupName
{
set
{
radio.GroupName = value;
}
}
}
but it doesn't helped.
Or only one way is to (un)check each radio button manually?