By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,061 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

Intercept autorendered HTML

P: n/a
Hi,

When a user submits a form I want to return him/her a page, but at the same
time I want to send him/her an exact copy of this page by mail.

Is there a way to intercept the rendered HTML of a User Control befor it is
included in the page where the User Control is used? Same question for the
page, can I intercept the HTML?

Thanks in advance,
Ben

Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Jos
Ben de Vette wrote:
Hi,

When a user submits a form I want to return him/her a page, but at
the same time I want to send him/her an exact copy of this page by
mail.

Is there a way to intercept the rendered HTML of a User Control befor
it is included in the page where the User Control is used? Same
question for the page, can I intercept the HTML?


Take a look at the RenderControl method.
http://aspnet.4guysfromrolla.com/articles/091102-1.aspx

--

Jos
Nov 18 '05 #2

P: n/a
Jos,

thanks for the quick response.
This page you indicated gave answers to the questions I had.

Greetz,
Ben

"Jos" <jo***************@fastmail.fm> wrote in message
news:en*************@TK2MSFTNGP09.phx.gbl...
Ben de Vette wrote:
Hi,

When a user submits a form I want to return him/her a page, but at
the same time I want to send him/her an exact copy of this page by
mail.

Is there a way to intercept the rendered HTML of a User Control befor
it is included in the page where the User Control is used? Same
question for the page, can I intercept the HTML?


Take a look at the RenderControl method.
http://aspnet.4guysfromrolla.com/articles/091102-1.aspx

--

Jos

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.