Red X where RadControl Chart Should Be

8 posts, 0 answers
  1. Ed
    Ed avatar
    4 posts
    Member since:
    Aug 2012

    Posted 31 Aug 2012 Link to this post

    Good Day Experts!

    I have the ever popular Red X where my RadControl Chart should. I have looked around at all the threads concerning this topic and have not bee able to find out the issue. 

    My scenario:
    My manager usually maintains our website on his local machine.  The production website works great and the Charts show with no Red X's.  So, my manager wants me to start maintaining the website so we duplicated the environment locally on my machine so I could do so. I had never had any VisualStudio 2003 website projects on my machine so we had to configure IIS and all the related "things". 

    Everything on the website works great except for getting the Red X's for the Charts!!!

    Question:
    I know my summary did not include much detail. I am thinking that my issue must be in my environment setup since the production website works fine and there are no issues for my manager to run it on his machine.

    Are there any "usual" set-up issues that you can suggest for me to look at?

    Thanks,
    Ed Dobias - ITS Traffic Systems
  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 05 Sep 2012 Link to this post

    Hi Ed,

    RadChart requires a registration for ChartHttpHandler in web.config. For IIS5/IIS6 it is registered in <system.web> section, while for IIS7 and later it should go in <system.webServer> section. Please, find more details in this help topic.

    Best regards,
    Ves
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ed
    Ed avatar
    4 posts
    Member since:
    Aug 2012

    Posted 05 Sep 2012 Link to this post

    Thank you for responding.

    After clicking the link for the how-to registration of the handler, do I copy the handler in <system.web> and paste it into my Web.config?
    If so, I am unable to scroll to the right to see the complete line to copy.

    I am working with IIS 5.1.

    Thanks,
    Ed
  5. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 10 Sep 2012 Link to this post

    Hi Ed,

    Here is the complete line you need to put in <system.web> section in your web.config file for IIS 5.1:

    <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/>


    Kind regards,
    Ves
    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.
  6. Ed
    Ed avatar
    4 posts
    Member since:
    Aug 2012

    Posted 12 Sep 2012 Link to this post

    Good Day

    Do I put this between the <httpHandlers> tags in Web.config?

    Thanks,
    Ed
  7. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 17 Sep 2012 Link to this post

    Hi Ed,

    That's correct. This should go into <httpHandlers> tag:

    <system.web>
    .....
    <httpHandlers>
    <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/>
    </httpHandlers>
    </system.web>


    Best regards,
    Ves
    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.
  8. Ed
    Ed avatar
    4 posts
    Member since:
    Aug 2012

    Posted 18 Sep 2012 Link to this post

    Good Day 

     I have added it in the <httpHandlers> tag.  I still have not chart.  Does any of it need to be custom tailored for my specific application?
    Or, is how you sent it how it should work?

    Thanks,
    Ed
  9. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 21 Sep 2012 Link to this post

    Hi Ed,

    This is actually all that is needed to get the chart to appear in your page. I am not really sure about all the specifics in your setup, however there is an approach you can try. Please, create a brand new web site in Visual Studio, add Telerik.Web.UI.dll to the Bin folder and create a simple page with RadChart as described here. Then run it and see if the chart appears correctly. If it is displayed, you can search for the differences between this example and your project, focusing on the chart configuration and ChartHttpHandler registration.

    Best regards,
    Ves
    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
UI for ASP.NET Ajax is Ready for VS 2017