Does not displaying Charts using Export to Excel 2007 from Report viewer RRS feed

  • Question

  • I am using Report viewer related dlls and VS 2008 in c#.

    We got all reports correctly and exported to PDF is also working fine.

    But whenver we are using export to excel, i am getting the data properly except charts.

    I want to show the charts/Graphs also in Excel. I need in Excel 2007/2010 format (not in 2003).

    Whenver opening Excel, i am getting one error like "File error. Data may have been lost".

    We used the code like below.

     byte[] bytes = ReportViewer1.LocalReport.Render(
                   "Excel", null, out mimeType, out encoding,
                    out extension,
                   out streamids, out warnings);
    Please help me

    Wednesday, June 12, 2013 3:30 AM