webcontrol included another webcontrol?
<p>i wanna customize a webcontrol that can use like this:</p>

<pre><code>&lt;cc1:TitleEx runat="server" Theme="Sky" DemoUrl="what.swf" Left="150" Width="250"&gt;
&lt;asp:Literal ID="Literal1" runat="server"&gt;&lt;/asp:Literal&gt;
&lt;/cc1:TitleEx&gt;
</code></pre>

<p>the base class is :</p>

<pre><code>[Bindable(true)]
[Category("Appearance")]
[DefaultValue("")]
[Localizable(true)]
[PersistenceMode(PersistenceMode.InnerDefaultProperty)]
public string Text
{
get
{
String s = (String)ViewState["Text"];
return ((s == null) ? String.Empty : s);
}
set
{
if (this.HasControls())
{
this.Controls.Clear();
}
ViewState["Text"] = value;
}
}

/// &lt;summary&gt;
/// child control's content
/// &lt;/summary&gt;
protected StringBuilder HtmlContent = new StringBuilder();

protected override void AddParsedSubObject(object obj)
{
if (obj is LiteralControl)
{
HtmlContent.Append(((LiteralControl)obj).Text);
this.Text = HtmlContent.ToString();
}
else
{
if (obj != null)
{
HtmlContent.Append(GetControlHtml(obj as Control));
this.Text = HtmlContent.ToString();
}
}
}

/// &lt;summary&gt;
/// get the child controls' html
/// &lt;/summary&gt;
protected string GetControlHtml(Control ctl)
{
StringBuilder sb = new StringBuilder();
StringWriter tw = new StringWriter();
HtmlTextWriter writer = new HtmlTextWriter(tw);
ctl.RenderControl(writer);
sb.Append(writer.InnerWriter.ToString());
return sb.ToString();
}
</code></pre>

<p>my problems is when i setted a string to this literal control in Page_Load(),but the string cannot display. i also try to set the value in OnPreInit(),OnPreLoad() but still have no any luck.
Is there anybody have meet this issue before? 
how do you solve this problem?</p>

<p>thanks a lot.</p>
