Hello,
There isn't fany method to get current output html.
To resolve this problem you need to create page, where you put querystring ex. ?orderid=1. according to the query string parameter you need to setup there repeaters, which render the the page exacly as the where user click the button.