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

  • Thread starter Thread starter LP
  • Start date Start date
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
 
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
 
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

Back
Top