Sunday, November 15, 2009

Use the ASP.NET 3.5 Chart on MOSS 2007

The ASP.NET 3.5 has new component that is used to display the Chart. But you can not use it directly on MOSS 2007. Before you use it, you should do some configuration firstly.
1. AppSettings section:
<add key="ChartImageHandler" value="Storage=memory;Timeout=20;Url=/_layouts/Images/tempImages/ "/>

You also can use the File mode.You can create a folder named tempImages under 12/template/Images

2. System.Web - httpHandlers section   
<add path="ChartImg.axd" verb="GET,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>


No comments:

Post a Comment