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
03:30:12 PM
3H80X89BY Show this entire thread in new window
Gratar Image based on email address
From:
Rick Strahl
To:
Attachments:
None
I'm not sure what you're saying. I can see the full thread view by clicking either on the thread icon in the message or the thread header.

Your first posts aren't showing up because effectively you ended up on new threads. I've seen this from a few other people here, but I haven't been able to duplicate this. I think this has to do with the old login cookie not getting mapped quite right. Once you log in here properly though this shouldn't happen any longer. And it looks like now posts from you ARE ending up in this thread.

+++ Rick ---



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 . . .





Rick Strahl
West Wind Technologies

Making waves on the Web

from Maui, Hawaii

Viewing all articles
Browse latest Browse all 10393

Trending Articles