I'm trying to bring up a page in Excel with an IE browser using Response.ContentType = "application/vnd.ms-excel". I've used this dozens of times with ASP and the old Foxweb 1.x with no problems. I have a script running in Foxweb 2.x that does the following:
<%
code
.
.
Response.ContentType = "application/vnd.ms-excel"
%>
then html to define the table. The page is about to display when a download prompt appears, Excel launches, and a blank Excel page resutls. If I comment out the Response.ContentType code, an html table appears fine. I can save the output source html to a .fwx file and add just the <% Response.ContentType="application/vnd.ms-excel %> code at the top of the file and it runs and displays fine. Only when running the additional code do I get the download and blank Excel page.
Any ideas would be appreciated.