i have a radio button and a text box. when i select the radio button, then will show out a text box to let user fill in. may i know to show the text box?
below are my coding.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
TextBox2.Visible = True
If RadioButton4.Checked = True Then
TextBox2.Visible = True
Else
TextBox2.Visible = False
End If
End Sub
End Class
hope someone can help me.
How to visible text box?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Rohatash KumarRank #12 · 57.7K reputationPosted Jun 3, 2011, 3:03 AM EDT
Your all code is right. Only you need to set AutoPastBack property of RadioButton control to true. This will work fine.
AutopostBack=True