Chart Webparts Creation using Visual Studio in SharePoint 2010
http://social.technet.microsoft.com/wiki/contents/articles/17614.adding-charts-to-standard-webparts-and-visual-webparts.aspx
Note: Modified below things as per environment
1) Add "ChartImageHandler" in system.WebServer handlers tag inside:
Ref: http://asifhuddani.wordpress.com/2010/10/07/chart-control-asp-net-4-0-and-iis-7-problem/
OutPut Screen:
http://social.technet.microsoft.com/wiki/contents/articles/17614.adding-charts-to-standard-webparts-and-visual-webparts.aspx
Note: Modified below things as per environment
1) Add "ChartImageHandler" in system.WebServer handlers tag inside:
So the simple solution that worked for me was just to remove the following entry from web.config <system.web> section:
<httpHandlers><addpath="ChartImg.axd"verb="GET,HEAD,POST"type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler,System.Web.DataVisualization,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35"validate="false"/></httpHandlers>
Also make sure that <system.webServer> section has the following:
<handlers><removename="ChartImageHandler"/><addname="ChartImageHandler"preCondition="integratedMode"verb="GET,HEAD,POST"path="ChartImg.axd"type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler,System.Web.DataVisualization,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35" /></handlers>
Ref: http://asifhuddani.wordpress.com/2010/10/07/chart-control-asp-net-4-0-and-iis-7-problem/
OutPut Screen:

No comments:
Post a Comment