473,395 Members | 2,783 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Intercept autorendered HTML

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
2 2458
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Kai Grossjohann | last post by:
It seems that Ctrl-N in Mozilla opens a new empty browser window. That's fine, I don't need to do anything about it. But Ctrl-N in IE appears to clone the current window. Is there a way to...
1
by: Morten Overgaard | last post by:
Hi all Is it possible for a .Net app. to intercept the "open" action on files in a given directory. I want to intercept the "open" action and the perhaps direct the client ( the app. which is...
1
by: zoltix | last post by:
Hi, I am beginner in JavaScript. I would like to intercept all click events on my document. I use this function for that document.onmousedown=click;. It works well. But I would like to...
4
by: _max_ | last post by:
HttpWebRequest() allows 'pseudo-browser' simulation to intercept incoming HTML for 'screen scraping', etc. But how would you do the opposite: Programmatically find out what a browser is sending...
0
by: zoltix | last post by:
Hi, I am beginner in aspx. I would like to intercept all click events on my document. I use this function in javascipt for that document.onmousedown=click;. It works well. But I would...
2
by: Susan van Houen | last post by:
Hi All, How do I intercept an autopostback on the client side and prevent it from executing the submit? In classic ASP I used to intercept the on_submit and just return false;
0
by: Ben de Vette | last post by:
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...
6
by: Adam Smith | last post by:
Not sure if this is the best place for this but here goes... I'm trying to create a dynamic newsletter generator. There will be several controls to select from to generate the layout of the...
2
by: rpale | last post by:
We want to create server-side code that will retrieve the user requested pages, then manipulate the content of those pages just before being sent back to the user. We tried the following: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.