I think you can also use

Server.Execute(url, textwriter)
but it may be easier in the long run to use the stream code mentioned previously


Gonzalo Paniagua Javier wrote:

On Thu, 2004-09-16 at 16:13, 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 ->->->



Or use caching (partial caching)... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconCachingPortionsOfASPNETPage.asp

-Gonzalo


_______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list






_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to