P
PJ6
I need to add a user control in code, not through the designer. For some
reason it just doesn't show up. Is there some initialization method I need
to call for the control before attemptin to add it?
Paul
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
Me.Controls.Add(New WebUserControl3)
End Sub
reason it just doesn't show up. Is there some initialization method I need
to call for the control before attemptin to add it?
Paul
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
Me.Controls.Add(New WebUserControl3)
End Sub