Hello Paul,
If you want to save the output to a file, look at the Filter property of
the HttpResponse object.
If you want to email the output, look at RenderControl method of the Page
class.
string output = "";
using (StringWriter sw = new StringWriter())
using (HtmlTextWriter writer = new Html32TextWriter(sw))
{
myPageInstace.RenderControl(writer);
output = sw.GetStringBuilder().ToString();
}
// at this point, output has the html of the rendered page
--
Matt Berther
http://www.mattberther.com I have developed an ASP.NET web page with a VB.net for the code
behind. I would like to redirect the output of the web page so I can
send it as an Email. Or Redirect the HTTPResponse stream on the
server to a file. Any ideas would be appreciated.
Thank you
Paul