Cookie Consent by Free Privacy Policy Generator
Privacy
Polipone
<ottobre 2024>
lunmarmergiovensabdom
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910
Immagini  

ASP.NET - utilizzo del componente CHART

Per un corretto utilizzo del componente CHART è fondamentale che non file web.config siano impostati i seguenti tag

<appSettings>
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=<abs_path>\tempchart\;" />
</appSettings>

  <system.webServer>
    <handlers>
      <remove name="ChartImageHandler" />
      <add name="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>
  </system.webServer>


  <system.web>
    <httpHandlers>
      <add path="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>

Notifiche