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

Problem when loading several radcharts on remote.

3 Answers 63 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Nicolas
Top achievements
Rank 1
Nicolas asked on 14 Aug 2011, 06:24 PM
I got on a page 6 radcharts which are dynamically loaded when clicking on a button.

On my local server, I got no problem, the 6 radcharts are loading without any problem.
But on remote server, when I launch my ajax request, 2 to 4 of the charts load (not the same ones everytime), and for the remaining one, I get the following message :

"Error loading RadChart image.
You may also wish to check the ASP.NET Trace for further details.
Display stack trace?"

If I click OK, the website show me the chart that "couldn't be loaded".

I suppose the problem is that the answer to my ajax request come too soon and the website try to show an image that isn't finished to create, isn't it ?

If it's the case, is it a "delay" property or something to make the chart wait X seconds more before binding ?

Regards,
Nicolas

3 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 17 Aug 2011, 10:57 AM
Hello Nicolas,

The reason for this error is in missing or wrong chart http handler registration. Please, verify that the handler is registered correctly. Note, that for IIS 7 the registration should be placed in system.webServer and not in system.web section in web config. We suggest that you register the handler via the Smart Tag Menu.

All the best,
Evgenia
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Nicolas
Top achievements
Rank 1
answered on 18 Aug 2011, 08:35 PM
Hi, I checked again, and it seems that registration already exists.

Furthermore, over the 6 radcharts in the page, 3 of them show without any problem, and these aren't always the same ones. Moreover, when I click "OK" for the stacktrace, I got the chart that couldn't show which is displayed.

Here are some example screenshots :

0
Evgenia
Telerik team
answered on 23 Aug 2011, 03:53 PM
Hi Nicolas,

It is possible that there is an issue with the handler that processes the image of the chart control - ChartImage.axd, so you can try to explicitly add reference as shown in the code sample below:
RadChart1.HttpHandlerUrl = ResolveUrl("ChartImage.axd");

Best wishes,
Evgenia
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Chart (Obsolete)
Asked by
Nicolas
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Nicolas
Top achievements
Rank 1
Share this question
or