Is there a way to intercept page HTML source before it's served

L

LP

Hi,

After html of .aspx page has been generated, but before it has been sent to
a client, I want to interecept it, and slightly modify it. I can't find
anyway to get html of a page. How can I do that? I need that because I need
to modify behaviour of a component that someone else wrote, but I don't have
its sourcecode. Thanks
 
P

Peter Rilling

LP said:
Hi,

After html of .aspx page has been generated, but before it has been sent to
a client, I want to interecept it, and slightly modify it. I can't find
anyway to get html of a page. How can I do that? I need that because I need
to modify behaviour of a component that someone else wrote, but I don't have
its sourcecode. Thanks
 
L

Lau Lei Cheong

For example: use Page.render() to get the rendered HTML source then modify
it and send it out by Response.write()... on PreRender event?

Not very sure about that.
 

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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top