Hi All,
Can someone please explain how I go about adding a control (Say for
example a panel) to a custom web control.
I've tried this:
Protected Overrides Sub Render(ByVal output As
System.Web.UI.HtmlTextWriter)
Dim EditPanel As New System.Web.UI.webcontrols.Panel
EditPanel.Attributes.Add("contenteditable", "")
EditPanel.BorderColor = System.Drawing.Color.AliceBlue
Me.Controls.Add(EditPanel)
End Sub
The panel doesnt seem to get written to the page.
I'm trying to get to the point where my user can enter some text into
the panel, which I can then get out of the control when they click
save/update/whatever.
Thanks!
Simon.