I am having issues trying to add a RadChart to a Sharepoint 2010 webpart control.
I found this telerik forum post and have followed the directions so far, but there is a bad link in this post and it seems that this is where I'm stuck.
I am getting this error from the server:
Snippets from my web.config:
<httpHandlers>
<add verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
<add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI" validate="false" />
</httpHandlers>
<httpModules>
<add name="Session" type="System.Web.SessionState.SessionStateModule" />
</httpModules>
<SafeControls>
...
<SafeControl Assembly="Telerik.Web.UI" Namespace="Telerik.Charting" TypeName="*" Safe="True" />
<SafeControl Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" />
</SafeControls>
<pages enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="false" pageParserFilterType="Microsoft.SharePoint.ApplicationRuntime.SPPageParserFilter, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxxxxxxxxxx" asyncTimeout="7" enableEventValidation="true">
Snippets from my ascx webpart page:
<%@ Register Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxxxxxxxx"
Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxxxxxxx"
Namespace="Telerik.Charting" TagPrefix="telerik" %>
<telerik:RadChart ID="RadChart1" runat="server">
<PlotArea>
<XAxis MaxValue="5" MinValue="1" Step="1">
</XAxis>
<YAxis MaxValue="25" Step="5">
</YAxis>
<YAxis2 MaxValue="5" MinValue="1" Step="1">
</YAxis2>
</PlotArea>
<Series>
<telerik:ChartSeries Name="Series 1" Type="Pie">
<Appearance LegendDisplayMode="ItemLabels">
</Appearance>
<Items>
<telerik:ChartSeriesItem YValue="23" Name="jim">
</telerik:ChartSeriesItem>
<telerik:ChartSeriesItem YValue="24" Name="pie">
</telerik:ChartSeriesItem>
<telerik:ChartSeriesItem YValue="19" Name="chart">
</telerik:ChartSeriesItem>
<telerik:ChartSeriesItem YValue="50" Name="test">
</telerik:ChartSeriesItem>
</Items>
</telerik:ChartSeries>
</Series>
</telerik:RadChart>
Is there an updated link to AdvancedSessionState or can someone tell me if something is wrong in what I'm doing?
I found this telerik forum post and have followed the directions so far, but there is a bad link in this post and it seems that this is where I'm stuck.
I am getting this error from the server:
Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.
Snippets from my web.config:
<httpHandlers>
<add verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
<add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI" validate="false" />
</httpHandlers>
<httpModules>
<add name="Session" type="System.Web.SessionState.SessionStateModule" />
</httpModules>
<SafeControls>
...
<SafeControl Assembly="Telerik.Web.UI" Namespace="Telerik.Charting" TypeName="*" Safe="True" />
<SafeControl Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" />
</SafeControls>
<pages enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="false" pageParserFilterType="Microsoft.SharePoint.ApplicationRuntime.SPPageParserFilter, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxxxxxxxxxx" asyncTimeout="7" enableEventValidation="true">
Snippets from my ascx webpart page:
<%@ Register Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxxxxxxxx"
Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxxxxxxx"
Namespace="Telerik.Charting" TagPrefix="telerik" %>
<telerik:RadChart ID="RadChart1" runat="server">
<PlotArea>
<XAxis MaxValue="5" MinValue="1" Step="1">
</XAxis>
<YAxis MaxValue="25" Step="5">
</YAxis>
<YAxis2 MaxValue="5" MinValue="1" Step="1">
</YAxis2>
</PlotArea>
<Series>
<telerik:ChartSeries Name="Series 1" Type="Pie">
<Appearance LegendDisplayMode="ItemLabels">
</Appearance>
<Items>
<telerik:ChartSeriesItem YValue="23" Name="jim">
</telerik:ChartSeriesItem>
<telerik:ChartSeriesItem YValue="24" Name="pie">
</telerik:ChartSeriesItem>
<telerik:ChartSeriesItem YValue="19" Name="chart">
</telerik:ChartSeriesItem>
<telerik:ChartSeriesItem YValue="50" Name="test">
</telerik:ChartSeriesItem>
</Items>
</telerik:ChartSeries>
</Series>
</telerik:RadChart>
Is there an updated link to AdvancedSessionState or can someone tell me if something is wrong in what I'm doing?