S
Steven
I have a real strange page built with framework 1.1 vb asp.net
On this page I have a set of radio buttons.
---------------
Protected WithEvents rbStandard As
System.Web.UI.WebControls.RadioButton
Protected WithEvents rbCustom As System.Web.UI.WebControls.RadioButton
---------------
When you select one of the buttons and post the page back to the server
with a break point where I read the checked property, it is false.
However, when it passes the line of code where it ask "if
rdostandard.checked = true then..." it always evaluates this as true
and does the ...
If I "dim test as string" and then "test =
rdostandard.checked.tostring" and and check the value in test it is
"FALSE". Then I run the code "If ucase(test) = "TRUE" then...." it
does the ....
---------------
Dim test As String
test = rbStandard.Checked.ToString
If UCase(test) = "TRUE" Then TotalPercent = Round(TotalPercent, 0)
'If rbStandard.Checked = True Then TotalPercent = Round(TotalPercent,
0)
On this page I have a set of radio buttons.
---------------
Protected WithEvents rbStandard As
System.Web.UI.WebControls.RadioButton
Protected WithEvents rbCustom As System.Web.UI.WebControls.RadioButton
---------------
When you select one of the buttons and post the page back to the server
with a break point where I read the checked property, it is false.
However, when it passes the line of code where it ask "if
rdostandard.checked = true then..." it always evaluates this as true
and does the ...
If I "dim test as string" and then "test =
rdostandard.checked.tostring" and and check the value in test it is
"FALSE". Then I run the code "If ucase(test) = "TRUE" then...." it
does the ....
---------------
Dim test As String
test = rbStandard.Checked.ToString
If UCase(test) = "TRUE" Then TotalPercent = Round(TotalPercent, 0)
'If rbStandard.Checked = True Then TotalPercent = Round(TotalPercent,
0)