B
Bert
Hi
I am trying to load my user control in a placeholder,
i get an error: c:\inetpub\wwwroot\testinline\WebForm2.aspx.vb(26): Type
'WebUserControl6' is not defined?
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
Dim uc As WebUserControl6 =
DirectCast(Me.LoadControl("WebUserControl6.ascx"), WebUserControl6)
PlaceHolder1.Controls.Add(uc)
End Sub
ascx control:
<%@ Reference Control = "WebUserControl6.ascx" %>
hello
thanks
B.
I am trying to load my user control in a placeholder,
i get an error: c:\inetpub\wwwroot\testinline\WebForm2.aspx.vb(26): Type
'WebUserControl6' is not defined?
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
Dim uc As WebUserControl6 =
DirectCast(Me.LoadControl("WebUserControl6.ascx"), WebUserControl6)
PlaceHolder1.Controls.Add(uc)
End Sub
ascx control:
<%@ Reference Control = "WebUserControl6.ascx" %>
hello
thanks
B.