Spire.XLS returning aspx page on savetohttpresponse on IE

Technical support for Spire.XLS

Moderators: iceblue support, Flash, Manager

Spire.XLS returning aspx page on savetohttpresponse on IE

Postby condornwmsn » Tue Sep 18, 2012 1:50 pm

We noticed something strange about the return of the file generated by your component. In internet explorer browser, instead of returning the XLS file, it returns the ASPX file.

The version I'm using is 5.8.5.4, and I'm using the method workbook.savetohttpresponse

What can I do to prevent this?

thank you
condornwmsn
 
Posts: 4
Joined: Tue Sep 13, 2011 9:53 pm

Re: Spire.XLS returning aspx page on savetohttpresponse on I

Postby amy.zhao » Wed Sep 19, 2012 7:08 am

Dear condornwmsn,

Thanks for your inquiry.
We have done a test, but we don't reproduce your problem, please confirm filename extension is .xls or .xlsx, if you save the filename extension is .aspx, it will return the aspx file. We provide you the sample code. If you still have the problem, please tell us, and provide us some code, so that we can reproduce your problem and solve it quickly. Thanks.
Code: Select all
workbook.SaveToHttpResponse ("test.xls",Response);


Thanks and regards,
Amy
e-iceblue support
User avatar
amy.zhao
 
Posts: 2251
Joined: Wed Jun 27, 2012 8:50 am


Return to Spire.XLS

Who is online

Users browsing this forum: No registered users and 1 guest