Forums

how to export the chart to excel for web chart control

Last post 6/5/2009 1:57 AM by swapnil ekhe. 3 replies.
Sort Posts: Previous Next
  • swapnil ekhe

    how to export the chart to excel for web chart control

    6/4/2009 8:39 AM
    • Not Ranked
    • Joined on 6/4/2009
    • Posts 9

    I am using WebChartControl to show the various types of charts

    I want to export the chart image to excel  

    please help

  • George (DevExpress)

    Re: how to export the chart to excel for web chart control

    6/4/2009 8:52 AM
    • Top 25 Contributor
    • Joined on 4/15/2008
    • Posts 1,952

    Hello,

    You should call the ASPxClientWebChartControl.SaveToDisk() method, and define the "xls" format as a parameter. There is a Code Central example that you can download at http://www.devexpress.com/example=E544.

    Regards,
    George (R&D, .NET Team).

    P.S. For your guaranteed official answer within 24 h, contact our Support Team at http://www.devexpress.com/Support/Center/. We are here to help address your issues.
  • swapnil ekhe

    Re: how to export the chart to excel for web chart control

    6/4/2009 10:46 AM
    • Not Ranked
    • Joined on 6/4/2009
    • Posts 9

    I have tried the example : at http://www.devexpress.com/example=E544.

    I am getting the following error after clicking on SaveToWindow button

    Specified argument was out of the range of valid values.
    Parameter name: offset

    and after clicking on SaveToDisk ,it shows nothing means where to save or pdf genaraetd pdf

    here in my application I am creating my control dynamically.

  • swapnil ekhe

    Re: how to export the chart to excel for web chart control

    6/5/2009 1:57 AM
    • Not Ranked
    • Joined on 6/4/2009
    • Posts 9

    thanks,

    it is working now... Its due to not  having reference to the DevExpress.XtraPrinting assembly.

     

    Filed under: ,
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.