I thought I'd post this one since it is sort of a weird situation that might merit a weird solution.
Here's the scenario:
I'm making a page with a simple form to compose an e-mail message... basically a text box for your name and a web-based text editor for the message field.
Once this form is completed and the user hits "send", the information in the form is wrapped in an html template and sent to a specified address as an html e-mail.
I've done this before, it's not the problem.
The problem is that one of the requirements is a "preview" button that pulls up the html e-mail in a new window before sending. Opening a new window is no big deal, but of course that requires a URL...
I have done systems before that changed the response headers of a link to give a csv file or something similar... the same could probably be done to send "assembled" html content... but I am not sure how to accomplish this ALSO in a new window.
So as the subject sort of implies, I need to be able to click a preview button, and pop up a new window that displays information from the previous form. I could do one or the other, but I haven't came up with a way to accomplish both. A LinkButton may work easier, but I would prefer that it actually looks/behaves like a button!
I appreciate any help, thanks.



