title: radio button list selectedItem.Value not working when compared to a string
body: <p>I am using VB.NET and I can't compare the radio button lists selectedItem.Value to a string, it doesn't work...here is the code: (<strong>I have also tried selectedValue it does not work either</strong>)</p>
  
  <pre><code>Response.Write("RB1: " + rblOne.SelectedItem.Value + " FML FML FML&lt;br/&gt;")
              If rblOne.SelectedItem.Value = "No" Then
                  Response.Write("Hey there!&lt;BR/&gt;")
                  pnlR1.Visible = True
                  If NumberOfAnswers = 7 Then
                      Score = Score - 10
                  ElseIf NumberOfAnswers = 6 Then
                      Score = Score - 15
                  Else
                      Score = Score - 20
                  End If
                  Response.Write("Score: " + Score.ToString)
              End If
      Response.End()
  </code></pre>
  
  <p>If rblOne.SelectedItem.Value = "No" Then is not working, notice the debug statements in there, here is the output:</p>
  
  <p><img src="https://i.stack.imgur.com/APQto.gif" alt="alt text"></p>
  
  <p>Why won't it evaluate that rblOne.SelectedItem.Value = "No" !?!?!? I tried rblOne.SelectedValue, that doesn't work, AND I added .ToString to both, which did not help, I even tried it w/ "No".ToString...this doesn't make any sense.</p>