Hi,
I've got the following radio button among other similar radio buttons on the same page:
I came with this query but it's quite expensive and takes a while to execute (That page has 18 radios)..Any suggestion for a more elegant solution ?
I've got the following radio button among other similar radio buttons on the same page:
<
input
type
=
"radio"
value
=
"green"
name
=
"outcome_LO"
/>
HtmlInputRadioButton rr = (from b in Find.AllControls<HtmlInputRadioButton>() where b.Value.Equals("green") && b.Name.Equals("outcome_LO") select b).First();
rr.Check(
true
,
true
);