I'm trying emulate the IE Webcontrols Pageview system.
Basically I have
<c:Multipage
>
<c:pageview
>
[Block of ASP.NET / HTML]
</c:pageview
> (More pageviews)</c:Multipage
>
And I want to simply render the inner text of the pageview.
I've tried
protected override void AddParsedSubObject(object obj) { ... ControlList.Add((Control)obj); ... }
and
Render(HtmlTextWriter output) { ... foreach (Control c in ControlList) c.RenderControl(); ... }
It seems to render simple things but any more complex set ups it makes mistakes on. I don't think this is the way to do it at all. I'm having difficulty finding out how I am supposed to be able to just render this. And whether I should treat it as text or child controls