R
RCIC
If I add a user control to a webform, it seems like I
should be able to make it visable or invisable. My code
doesn't seem to work. I made a control called myControl
and dragged to on to my web form. I then added this to
the code behind and ran it.
Public test As myControl
Private Sub Page_Load(ByVal sender .....
test.Visible = False
End Sub
The error I get is: Object reference not set to an
instance of an object. Any idea what my problem is?
should be able to make it visable or invisable. My code
doesn't seem to work. I made a control called myControl
and dragged to on to my web form. I then added this to
the code behind and ran it.
Public test As myControl
Private Sub Page_Load(ByVal sender .....
test.Visible = False
End Sub
The error I get is: Object reference not set to an
instance of an object. Any idea what my problem is?