[Mono-list] Capturing a Controls Rendered Html

Matthew Metnetsky met@uberstats.com
Thu, 16 Sep 2004 16:13:23 -0400

I have a UserControl which contains all of my web pages header information
(menus etc).  The headers content is static 99.999% of the time, so I would
like to capture the rendered output of the control and toss it into an HTML
file for normal inclusion (and remove it when the file needs updating.  But
I'm getting lost following the API from UserControl -> Control ->
HtmlTextWriter -> TextWriter ->->->

So I'm wondering if anyone has done anything similar before?  I don't want
the whole page, but rather just the text from one control down to its
children.  Any ideas or suggestions would be greatly appreciated.

~ Matthew