Intercept autorendered HTML

B

Ben de Vette

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
 
J

Jos

Ben said:
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
 
B

Ben de Vette

Jos,

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

Greetz,
Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top