troubleshooting Question

download recordset (in CSV)

Avatar of dirklance
dirklance asked on
ASP
51 Comments2 Solutions506 ViewsLast Modified:
Greetings experts,

i'm trying to give my users the opportunity to download a report (the returned recordset) in csv format.

I'm using the following header code, which works great in firefox (auto download to desktop) however in ie6 it just hangs.  I need it to throw up a alert asking the user where they would like to save the file.  Is this possible using the method i've chose?

FileName = "sampleReportName.txt"
Response.ContentType = "text/csv"
Response.AddHeader "Content-Disposition", "filename=" & FileName & ";"

thanks,
Briston





Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 51 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 51 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros