Forum Moderators: open

Message Too Old, No Replies

Save Entire HTML of ASP.NET Response

         

justin holton

6:10 pm on Jul 25, 2006 (gmt 0)

10+ Year Member



I'm wanting to write an ASP.NET app that captures the entire html of a page after the user has clicked the submit button of a form. I know it's MUCH easier to just store the form variables into the database, and I'm already doing that, but this is something my client is directly asking for, and I want to make them happy. I've read that it was "easy" on google, but that's all I could find thus far. I'm currently researching, but maybe someone here has already done something similar and can point me in the right direction. Thanks.

Ocean10000

7:43 pm on Jul 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Are you trying to do a screen catpure or just save a copy of the html with the changes the user has entered in?

justin holton

9:27 pm on Jul 25, 2006 (gmt 0)

10+ Year Member



A copy of the HTML with changes, which would later be converted graphically for the client. The client is basically asking for a screen capture, though I was led to believe such was impossible without having the user install an application on their computer -- which brings up privacy issues, of course. Thanks.

Ocean10000

10:03 pm on Jul 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Depending on the form page and how the different events effect the form. You can override the Render Method, and use a custom writer to save the output after the form posts back which should update the form values from the postback. And use response.redirect (I never tried from the Render Event), or you can try a javascript to redirect the person to the next stage of the process. Just my ideas I would try if I was in your place first, on a simple webform submition page.