Hi,
by overriding AddParsedSubObject method of your control you can control that
are LiteralControls added Also ControlBuilder can help you
Here is one article discussing these
http://www.codeproject.com/aspnet/No...lRendering.asp
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke
"Donal McWeeney" <> wrote in message
news:...
> Hi,
>
> I'm sure this has been asked before...
>
> Is there a setting or attribute that I can specify on my control to tell
the
> page parser to ignore literal content when parsing children of my custom
> control?
>
> I'm overriding RenderChildren of my parent control and the literal content
> is causing me so headaches.
>
> Also is there a best practices document on creating custom controls.
>
> Any ideas gratefully appreciated.
>
> Thanks
>
> Donal
>
>