Error loading RadChart image with virual directory using .net routing

Thread is closed for posting
4 posts, 0 answers
  1. Dave Wolf
    Dave Wolf avatar
    33 posts
    Member since:
    Feb 2006

    Posted 19 Jul 2009 Link to this post

    I'm trying to load a chart on a virutal path using the new routing function in .NET 3.5 SP1.  I keep getting the Error loading RadChart image error.  It works fine when I put the chart on a page that isent virtual.  I think with the virtual path the link to the image is getting lost somewhere.  When I right click the red X and look at the path its telling me its looking for the ChartImage.axd inside of my virtual path.  How can I fix this?
  2. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 23 Jul 2009 Link to this post

    Hello Dave Wolf,

    The ChartImage.axd is a standard ASP.NET HTTP handler which is registered through your web.config. I suggest you either change the registration of the handler in the config file or rewrite requests for it so they match the handler declaration. This situation is really no different than what you would have to do for your own http handlers in the same situation.

    Best wishes,
    Vladimir Milev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. rck
    rck avatar
    13 posts
    Member since:
    Sep 2006

    Posted 13 Nov 2009 Link to this post

    Hello,

    is there any documentation or sample project/code about this issue. i am having the same problem. how can i register chartimage handler in the webconfig if i use asp.net routing.

    thanks in advance
  5. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 17 Nov 2009 Link to this post

    Hi rck,

    Check this tutorial: http://www.telerik.com/help/aspnet-ajax/registering_the_httphandlers_on_windows_vista_iis_7_integrated_mode.html

    Also, another way to register the handler is to manually delete all references to it from web.config file and use the smart tag of the RadChart control to correctly register it.

    Kind regards,
    Vladimir Milev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top