J
Johnny Emde Jensen
Hello
USING VB.NET
In VS 2003 I did this to dynamically add a webusercontrol
Private objControl as MyWebControl = nothing
Private Sub ShowControl()
objControl = CType(Page.LoadControl("MyWebControl.ascx"), MyWebControl
Container.Controls.Add(objControl)
...
...
End Sub
In VS 2005 I'm not even able to declare the var objComtrol as
MyWebControl???
HowTo do this??
Kind Regards
Johnny E Jensen
USING VB.NET
In VS 2003 I did this to dynamically add a webusercontrol
Private objControl as MyWebControl = nothing
Private Sub ShowControl()
objControl = CType(Page.LoadControl("MyWebControl.ascx"), MyWebControl
Container.Controls.Add(objControl)
...
...
End Sub
In VS 2005 I'm not even able to declare the var objComtrol as
MyWebControl???
HowTo do this??
Kind Regards
Johnny E Jensen