This is a multi-part message in MIME format.
------=_NextPart_000_000A_01C4C8D4.E20B4D70
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I figured it out. :)
The AutoPostBack property for the radio buttons was not set to True.
It works like a gem.=20
-Kelly
[quoted text, click to view] "Kelly" <kelly.hauser@amerock.com> wrote in message =
news:OemEAVPyEHA.4044@TK2MSFTNGP10.phx.gbl...
Hi all -
I have a form with 3 radio buttons, representing 3 textboxes. The user =
will be required to enter a numeric value into 2 of the 3 textboxes to =
calculate the third textbox's numeric value. The selected radiobutton =
will represent the value the user is solving for. The textbox =
representing the missing value will need to be disabled. So, when rdoA =
is selected, txtA should be disabled, etc.
I'm having trouble with the change events of the radio buttons though. =
It seems that nothing is firing my CheckedChange event to run the =
necessary code.
The auto-generated sub that came from double-clicking the radiobutton =
control is:
Private Sub rdoMepForecast_CheckedChanged(ByVal sender As =
System.Object, ByVal e As System.EventArgs) Handles =
rdoMepForecast.CheckedChanged
End Sub
Any ideas? Thanks!!
-Kelly
------=_NextPart_000_000A_01C4C8D4.E20B4D70
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1476" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I figured it out. :)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The AutoPostBack property for the radio =
buttons was=20
not set to True.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>It works like a gem. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>-Kelly</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Kelly" <<A=20
=
href=3D"mailto:kelly.hauser@amerock.com">kelly.hauser@amerock.com</A>>=
wrote=20
in message <A=20
=
href=3D"news:OemEAVPyEHA.4044@TK2MSFTNGP10.phx.gbl">news:OemEAVPyEHA.4044=
@TK2MSFTNGP10.phx.gbl</A>...</DIV>
<DIV><FONT face=3DArial size=3D2>Hi all -</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have a form with 3 radio buttons, =
representing=20
3 textboxes. The user will be required to enter a numeric value =
into 2 of=20
the 3 textboxes to calculate the third textbox's numeric value. The =
selected=20
radiobutton will represent the value the user is solving for. The =
textbox=20
representing the missing value will need to be disabled. So, when rdoA =
is=20
selected, txtA should be disabled, etc.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I'm having trouble with the change =
events of the=20
radio buttons though. It seems that nothing is firing my CheckedChange =
event=20
to run the necessary code.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The auto-generated sub that came from =
double-clicking the radiobutton control is:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT color=3D#0000ff=20
size=3D2></FONT></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><FONT color=3D#0000ff =
size=3D2>Private</FONT><FONT=20
size=3D2> </FONT><FONT color=3D#0000ff size=3D2>Sub</FONT><FONT =
size=3D2>=20
rdoMepForecast_CheckedChanged(</FONT><FONT color=3D#0000ff=20
size=3D2>ByVal</FONT><FONT size=3D2> sender </FONT><FONT =
color=3D#0000ff=20
size=3D2>As</FONT><FONT size=3D2> System.Object, </FONT><FONT =
color=3D#0000ff=20
size=3D2>ByVal</FONT><FONT size=3D2> e </FONT><FONT color=3D#0000ff=20
size=3D2>As</FONT><FONT size=3D2> System.EventArgs) </FONT><FONT =
color=3D#0000ff=20
size=3D2>Handles</FONT><FONT size=3D2>=20
rdoMepForecast.CheckedChanged</DIV></FONT></FONT>
<DIV><FONT face=3DArial size=3D2><FONT color=3D#0000ff size=3D2>
<P>End</FONT><FONT size=3D2> </FONT><FONT color=3D#0000ff=20
size=3D2>Sub</P></FONT></FONT>
<P>Any ideas? Thanks!!</P>
<DIV>-Kelly</DIV></DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_000A_01C4C8D4.E20B4D70--