I'm trying to check (visibly select, not just set the value) of one or the other buttons in a radiobuttonlist based on the choice made in a dropdownlist. It's not working and I'm not sure what I'm doing wrong.
protected void DDLTitle_SelectedIndexChanged(object sender, EventArgs e)
{
if (DDLTitle.SelectedValue.Contains("Attorney"))
{
RBAtty.SelectedIndex = 0;
}
else
{
RBAtty.SelectedIndex = 1;
}
...
Go to the complete details ...