Hi
I'm having a similar problem. When added at runtime, the controls are displayed as webparts without any data in the webpartzone.
for example the text property of this demo button does not get displayed when added to a webpartzone as a generic web part...
Public Overrides Function GetWebPart(ByVal desc As WebPartDescription) As WebPart
Dim btn As Button
btn =
New Buttonbtn.ID = desc.ID
btn.Text = desc.Title
Dim g As GenericWebPart = Me.WebPartManager.CreateWebPart(btn)Return g
End Function
I just dont understand why the text is not displayed, just an empty button....