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

Error loading RadChart image with virual directory using .net routing

3 Answers 101 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Dave Wolf
Top achievements
Rank 1
Iron
Dave Wolf asked on 20 Jul 2009, 03:32 AM
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?

3 Answers, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 23 Jul 2009, 07:13 AM
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.
0
rck
Top achievements
Rank 1
answered on 13 Nov 2009, 09:55 AM
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
0
Vladimir Milev
Telerik team
answered on 17 Nov 2009, 07:54 AM
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.
Tags
Chart (Obsolete)
Asked by
Dave Wolf
Top achievements
Rank 1
Iron
Answers by
Vladimir Milev
Telerik team
rck
Top achievements
Rank 1
Share this question
or