We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

I have problem to use Chart in Sharepoint 2010

Thread ID:





105167 Sep 13,2012 03:04 PM UTC Sep 17,2012 12:44 PM UTC ASP.NET Web Forms (Classic) 3
Tags: Chart
Asked On September 13, 2012 03:04 PM UTC

my lab environment is Sharepoint 2010 fundation . & Essential Studio

when i use the Chart in Customer Webpart .and Deploy .

have some Problem ..the chart can't display img .

i think is  the generate.ashx is wrong config ?  

thansk all .

Sivakumar D [Syncfusion]
Replied On September 14, 2012 05:57 AM UTC

Hi Jaja,

Thanks for using Syncfusion products.

 We regret for the inconvenience caused.  Before we start providing the solution, we  would like to hear details about your product using by you (i.e. Chart[WebForms] or Chart[MVC]). So could you  please give following details to us.


      1.  Product information.

2.   2.  Web.config


If you are using Chart[Web] in sharepoint 2010. Please download the sample from below link.


The chart broken image issue occurs if the chart handlers are not specified in the web.config file. In order to run the Chart application in web server, you need to add the chart handlers which specifies the name, path and type of the handlers in the webconfig file under the following tag.

System.webserver => handlers. Please find the following code snippet to achieve this.


<add name="SFChart" path="syncfusion_generate.ashx" verb="*" type="Syncfusion.Web.UI.WebControls.Chart.ChartWebHandler,Syncfusion.Chart.Web, Version= x.x.x.x, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />

If you are running the chart application in the local machine via Visual studio, then it’s enough to add the handlers in “httpHandler” tag. But for hosting it, you have to add the same in webserver handler tag too.

Please let us know your concerns.



Replied On September 15, 2012 09:23 AM UTC

Dear Sivakumar ,

thanks you reply , I'm follow your instruction

now , the sharepoint can show Chart correct

thanks you : ) by the way i'm using Sharepoint Fundation 2010 . but i think it can be use in Server version.

but now i have a litte Question . i use ASP.NET Control to Postback get Data and Generator
the Chart . when i use the Chart Method to Export xls the Code like this

  # region XlsIO
                case "xlsio":
                    exportFileName = fileName + ".xls";

                    file = fileName + ".emf";

                    if (!System.IO.File.Exists(Server.MapPath(file)))

                    ExcelEngine engine = new ExcelEngine();
                    IApplication application = engine.Excel;

                    //A new workbook with a worksheet is created.
                    IWorkbook chartBook = application.Workbooks.Create(2);
                    IWorksheet sheet = chartBook.Worksheets[0];
                    chartBook.SaveAs(exportFileName, ExcelSaveType.SaveAsXLS, Response, ExcelDownloadType.PromptDialog);

                    OpenFile("XLsIO", exportFileName);

                # endregion
and i open the export xls , the chart is not bind data. how can i do this ?

Thanks you replay , again .

Sivakumar D [Syncfusion]
Replied On September 17, 2012 12:44 PM UTC

Hi Jaja,


We regret for inconvenience caused.


We are unable to reproduce the issue. We have prepared a simple chart sample for exporting chart to excel. The sample can be downloaded from the following link.




Could you please try the above sample and get back to us whether you are able to reproduce the issue? If not, could you please give more information or by reproducing the issue in the above sample so that we could sort out the issue and provide you with solution. The information provided would be of great help in resolving the issue.


Please let us know if any concerns.





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon