This is a migrated thread and some comments may be shown as answers.

Error Loading RadChart Image

1 Answer 166 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
david
Top achievements
Rank 1
david asked on 29 Feb 2008, 05:39 PM

Requested URL http://localhost:80/Instructor/ChartImage.axd?UseSession=true&ChartID=6c594c65-844a-4300-b2bb-a458e769c6b3_chart_ctl04$RadChart1&imageFormat=Png&random=0.8831890471667
Physical Path C:\inetpub\wwwroot\Instructor\ChartImage.axd


I let the wizard add the http: handler to my web.config as:

<

add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2007.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

validate="false" />

here is the Source:

<%

@ Control Language="C#" %>

<%

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<%

@ Register assembly="Telerik.Charting, Version=1.7.1.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763" namespace="Telerik.Charting" tagprefix="telerik" %>

 

<asp:SqlDataSource ID="SqlDataSource2" runat="server"

ConnectionString="<%$ ConnectionStrings:edwaydbConnectionString %>"

SelectCommand="Instructor_List_Courses" SelectCommandType="StoredProcedure">

<SelectParameters>

<asp:SessionParameter Name="InstructorID" SessionField="MM_StudentID"

Type="Int32" />

</SelectParameters>

</

asp:SqlDataSource>

<asp:DropDownList ID="ddlCourseID" runat="server" AutoPostBack="True"

DataSourceID="SqlDataSource2" DataTextField="CourseID"

DataValueField="CourseID">

</

asp:DropDownList>

<

script runat="server">

</

script>

 

<

asp:SqlDataSource ID="SqlDataSource1" runat="server"

ConnectionString="<%$ ConnectionStrings:edwaydbConnectionString %>"

SelectCommand="studentstatus_one_course" SelectCommandType="StoredProcedure">

<SelectParameters>

<asp:FormParameter FormField="ddlCourseID" Name="CID" Type="String" />

</SelectParameters>

</

asp:SqlDataSource>

 

<

telerik:RadChart ID="RadChart1" runat="server" DataGroupColumn="(None)"

DataSourceID="SqlDataSource1" SeriesOrientation="Horizontal" Skin="Gradient">

<legend>

<appearance border-color="64, 64, 64" corners="Round, Round, Round, Round, 3"

dimensions-margins="18%, 1%, 1px, 1px">

<fillstyle maincolor="177, 183, 144">

</fillstyle>

</appearance>

</legend>

<plotarea seriesorientation="Horizontal">

<xaxis>

<appearance majortick-color="Black">

<majorgridlines color="DimGray" visible="False" />

<textappearance textproperties-color="Black">

</textappearance>

</appearance>

<axislabel>

<appearance rotationangle="270">

</appearance>

<textblock>

<appearance textproperties-font="Verdana, 9.75pt, style=Bold">

</appearance>

</textblock>

</axislabel>

</xaxis>

<yaxis visible="False">

<appearance minortick-visible="False">

<majorgridlines color="Black" />

<minorgridlines visible="False" />

</appearance>

<axislabel>

<appearance rotationangle="0">

</appearance>

<textblock>

<appearance textproperties-font="Verdana, 9.75pt, style=Bold">

</appearance>

</textblock>

</axislabel>

</yaxis>

<yaxis2>

<axislabel>

<appearance rotationangle="0">

</appearance>

<textblock>

<appearance textproperties-font="Verdana, 9.75pt, style=Bold">

</appearance>

</textblock>

</axislabel>

</yaxis2>

<appearance border-color="94, 94, 93" corners="Round, Round, Round, Round, 6"

dimensions-margins="18%, 22%, 12%, 10%">

<fillstyle maincolor="65, 201, 254" secondcolor="0, 107, 186">

</fillstyle>

</appearance>

</plotarea>

<Series>

<

telerik:ChartSeries Name="StudentID" DataYColumn="StudentID">

<appearance border-color="Black">

<fillstyle maincolor="199, 243, 178" secondcolor="17, 147, 7">

</fillstyle>

<textappearance textproperties-color="Black">

</textappearance>

</appearance>

</telerik:ChartSeries>

<

telerik:ChartSeries Name="totallectures" DataYColumn="totallectures">

<appearance border-color="Black">

<fillstyle maincolor="253, 226, 0" secondcolor="255, 156, 0">

</fillstyle>

<textappearance textproperties-color="Black">

</textappearance>

</appearance>

</telerik:ChartSeries>

<telerik:ChartSeries DataYColumn="countcomplete" Name="countcomplete">

<appearance border-color="Black">

<fillstyle maincolor="255, 128, 128" secondcolor="192, 0, 0">

</fillstyle>

<textappearance textproperties-color="Black">

</textappearance>

</appearance>

</telerik:ChartSeries>

<telerik:ChartSeries DataYColumn="percentcomplete" Name="percentcomplete">

<appearance border-color="Black">

<fillstyle maincolor="128, 128, 255" secondcolor="0, 0, 192">

</fillstyle>

<textappearance textproperties-color="Black">

</textappearance>

</appearance>

</telerik:ChartSeries>

</

Series>

<appearance border-color="117, 117, 117">

<fillstyle filltype="Gradient" maincolor="244, 244, 234"

secondcolor="167, 172, 137">

</fillstyle>

</appearance>

<charttitle>

<appearance border-color="64, 64, 64" corners="Round, Round, Round, Round, 3"

dimensions-margins="4%, 10px, 14px, 0%" position-alignedposition="Top">

<fillstyle maincolor="177, 183, 144">

</fillstyle>

</appearance>

<textblock>

<appearance textproperties-color="White"

textproperties-font="Verdana, 14.25pt, style=Bold">

</appearance>

</textblock>

</charttitle>

</

telerik:RadChart>

 

 

 

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 04 Mar 2008, 07:22 AM
Hello David,

Would you please let us know which kind problem do you get? Is there an error when you run the page?

I would suggest you download the latest Prometheus RadControls version labeled 2007_3_1425 and give it a go. Please, remove the old assemblies from the GAC and the project upon upgrading.

Sincerely yours,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Chart (Obsolete)
Asked by
david
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or