You don't need to open a window to start a file download, simply pushing the data down through the response stream will cause the Download dialog box to open. So, in your click event handler of your button, instead of calling window.open() call the logic that you are using in the file download window. This should work equally as well.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========