Exporting a report

Stimulsoft Reports.WEB discussion
Post Reply
MikeD
Posts: 86
Joined: Fri Feb 12, 2010 4:23 pm
Location: USA

Exporting a report

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


Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Exporting a report

Post 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.
MikeD
Posts: 86
Joined: Fri Feb 12, 2010 4:23 pm
Location: USA

Exporting a report

Post 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


Attachments
511.SampleCD_Report.Csv
(79.17 KiB) Downloaded 214 times
510.New_CTSampleCD.mrt
(11 KiB) Downloaded 278 times
MikeD
Posts: 86
Joined: Fri Feb 12, 2010 4:23 pm
Location: USA

Exporting a report

Post by MikeD »

We figured it out.
The html was being added on by the http service.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Exporting a report

Post by Ivan »

Hello,

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Post Reply