I am trying to open an excel spreadsheet that is loaded from a datagrid. I
have managed to do this. But, my original .aspx page no longer works. I
will try to explain. I have an .aspx page - Default.aspx, that gets loaded
with an .ascx, depending on the menu item. One of the ascx controls contains
a button to load my datagrid and pass it to excel. Excel opens and the
spreadsheet is loaded, and that all looks ok, but, the original ascx control
no longer works properly. Refreshing the web page loads my home ascx, as
opposed to my current ascx. I think this is due to the response getting
cleared. I attempted to open a new aspx and load the spreadsheet from there,
but then the new aspx page stays open.
How do I load into a new response - I can't dim a new instance of it, or how
do I close my new aspx, once the spreadsheet is loaded?
Thanks, Leonard