Sharepoint 2010 with RadChart issues

Thread is closed for posting
2 posts, 0 answers
  1. Jim
    Jim avatar
    1 posts
    Member since:
    Nov 2011

    Posted 22 Nov 2011 Link to this post

    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:

    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: 
          <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" />

          <add name="Session" type="System.Web.SessionState.SessionStateModule" />

          <SafeControl Assembly="Telerik.Web.UI" Namespace="Telerik.Charting" TypeName="*" Safe="True" />
          <SafeControl Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" />
        <pages enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="false" pageParserFilterType="Microsoft.SharePoint.ApplicationRuntime.SPPageParserFilter, Microsoft.SharePoint, Version=, 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">
            <XAxis MaxValue="5" MinValue="1" Step="1">
            <YAxis MaxValue="25" Step="5">
            <YAxis2 MaxValue="5" MinValue="1" Step="1">
            <telerik:ChartSeries Name="Series 1" Type="Pie">
                <Appearance LegendDisplayMode="ItemLabels">
                    <telerik:ChartSeriesItem YValue="23" Name="jim">
                    <telerik:ChartSeriesItem YValue="24" Name="pie">
                    <telerik:ChartSeriesItem YValue="19" Name="chart">
                    <telerik:ChartSeriesItem YValue="50" Name="test">

    Is there an updated link to AdvancedSessionState or can someone tell me if something is wrong in what I'm doing?
  2. Evgenia
    Evgenia avatar
    1437 posts

    Posted 25 Nov 2011 Link to this post

    Hi Jim,

    This is the topic with broken link that was mentioned in the forum post. Let us know if you need further help with this.

    All the best,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top