RadioButtonList

  • Thread starter Thread starter Franck Diastein
  • Start date Start date
F

Franck Diastein

Hi,

I have RadioButtonList for Yes/No

This are values:

<asp:ListItem Value="True">Yes</asp:ListItem>
<asp:ListItem Value="False" Selected="True">No</asp:ListItem>

rblQuestion.Items.FindByValue( _myObject.Question.ToString() ).Selected
= true;

I can't get Yes selected when _myObject.Question.ToString() is true

When I do this with ordinary string values, it works...

Any idea ?

TIA
 
Back
Top