Page 1 of 1
Exporting a report
Posted: Tue Jul 27, 2010 4:10 pm
by MikeD
I have a report.
If from the Viewer control I export the report to a CSV document it works great.
However if I do this in code using the following command.
stiReport.ExportDocument(Stimulsoft.Report.StiExportFormat.Csv, downloadPath + "\\" + rptName);
The csv file has a bunch of attached HTML to the end of the file.
How do we get rid of the HTML text at the end of the file.
Exporting a report
Posted: Wed Jul 28, 2010 1:42 am
by Ivan
Hello,
We couldn't reproduce this bug.
Can you please send us a sample report with data or a simple test application, which reproduces the issue?
Thank you.
Exporting a report
Posted: Wed Jul 28, 2010 8:56 am
by MikeD
I'm having a hard time believing that you can't reproduce the problem.
What can't you reproduce??
What does the csv file look like when you run the ExportDocument command???
I can send you the report...but I can't send you the data. It's in our database...And the data doesn't matter...This happens on ALL reports....Not just one...BUT ALL REPORTS...
Exporting to a CSV, TEXT or WORD2007 there's html attached to the bottom of the outputted files.
I've attached one of our test reports..Also the csv file.
One other thing...The first line of the CSV file contains.... Text4,Text8,Text6
Exporting a report
Posted: Wed Jul 28, 2010 11:43 am
by MikeD
We figured it out.
The html was being added on by the http service.
Exporting a report
Posted: Thu Jul 29, 2010 4:26 am
by Ivan
Hello,
We are always glad to help you.
Let us know if you need any additional help.
Thank you.