[Mono-list] Capturing a Controls Rendered Html

Todd Berman tberman@off.net
Thu, 16 Sep 2004 15:20:06 -0700


Maybe im missing something, but why not go to the page and view the
source?

Or do you want to automate this programmatically?

--Todd

On Thu, 2004-09-16 at 16:13 -0400, Matthew Metnetsky wrote:
> 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
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list