I have a web app that displays a table the user can edit. In the process of editing, various inner HTML of the original table gets replaced with edits made by the user. Once the user is finished I would like to save the resulting table in a .html file so that I can include it in a PowerPoint slide without having to recreate it. Basically I want to capture the .aspx file as is after editing and write this to a file.
Any advice is appreciated.
Regards.
Because you state “capture the ASPX”, I’m assuming the data edits are persisted somewhere (memory/database). This means it is straightforward to override the
Render()method of the control/page and redirect (or copy) the output stream to a file.Example
Sequence