[Mono-list] Capturing a Controls Rendered Html

John BouAntoun jbouantoun@rogen.com.au
Fri, 17 Sep 2004 09:10:53 +1000

Why not look into asp.net's data caching .

Seems like a perfect scenario for use, "static most of the time, but
changes ocasionally".


-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Todd Berman
Sent: Friday, 17 September 2004 8:20 AM
To: Matthew Metnetsky
Cc: Mono - List
Subject: Re: [Mono-list] Capturing a Controls Rendered Html

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

Or do you want to automate this programmatically?


On Thu, 2004-09-16 at 16:13 -0400, Matthew Metnetsky wrote:
> I have a UserControl which contains all of my web pages header=20
> 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=20
> 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=20
> UserControl -> Control -> HtmlTextWriter -> TextWriter ->->->
> So I'm wondering if anyone has done anything similar before?  I don't=20
> 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=20
> http://lists.ximian.com/mailman/listinfo/mono-list

Mono-list maillist  -  Mono-list@lists.ximian.com