Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: HTML output to Excel

$
0
0
Re: HTML output to Excel
Web Connection 5.0
Re: HTML output to Excel
04/13/2012
02:44:11 PM
3H80VL3A2 Show this entire thread in new window
Gratar Image based on email address
From:
Russell Campbell
To:
Attachments:
None
I'll try it. I don't use WWWC 5 to its fullest capacity. My 4.68 program did not convert over well due to some changes you made in 5 and there's not enough money in my client's budget at present to modify it to better take advantage of 5.

As for the issue I mentioned on Twitter, the view thread in new window feature is still not working correctly. First, this is minor, the hover text it used to display when you hovered over that button no longer displays. It'd be good to have that for newer users. Second, my original post is not showing up anywhere. Just my "Ping" post, which was really the second post. In the past, the entire thread would display in the new window/tab.

Also, when someone replies the subject is not auto-filled and you won't let us not have a subject (which on some boards defaults it to the original subject). So we have to retype it. Why?



How are you serving the data?

This works for me with IE 9 (and IE 9 in Compatibility mode):

FUNCTION ServeExcelDocument lcFile = FILETOSTR("c:\saved\Travel2012.xls") Response.ContentType="application/vnd.ms-excel" Response.Write(lcFile) ENDFUNC

and just saves the file to disk. Most other browsers just download the file. If you want more control you can also use the FileAttachment header. Look into Response.DownloadFile or Response.TransmitFile.

If you want to open the Excel document in the browser I think you need to send back a different format - .csv should work to open in Excel if it's just data.

+++ Rick ---


Ping . . . any thoughts here? Is this built into WWWC and perhaps I'm missing it? It seems like tighter browser security . . .




Viewing all articles
Browse latest Browse all 10393