I use ExportFormatType.CharacterSeparatedValues and ExportToHttpResponse() to export reports to csv. The content type sent to the browser is "text/download" which is not valid. It should be "text/csv".
Some of my users have reported that when trying to download, they never see the open/save dialog box in their browser, and therefore, they can't access the file. I am not certain that it is the content type causing this, but in other areas of my site, where I provide csv downloads which are not generated by crystal (and I use the correct content type) the downloads are successful.
I believe this is a bug which should be fixed, but I have no idea where to submit a bug report.
For now, I am going to try using ExportToStream() and set the proper content type myself.
Request clarification before answering.
Moved to .NET SDK forum
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.