Hi,
Will someone share how you would pass parameters from the main page
to a custom control, that's being loaded from a placeholder, through the public
properties of the custom control?
In other words:
Test01.aspx has a <ASP:PLACEHOLDER RUNAT=server ID="Phl01"></ASP:PLACEHOLDER>
and on button click will load pageuc.ascx:
Dim urc as Control = LoadControl("pageuc.ascx")
Phl01.Controls.Add(urc)
somewhere here I would like to pass some parameters to urc.
pageuc.ascx.
vb has:
Private _myParameter as String
Public Property myParameter() as String
Get
Return _myParameter
End Get
Set
_myParameter = value
End Set
End Property
Your replies are appreciated :D !