Problem when loading several radcharts on remote.

Thread is closed for posting
4 posts, 0 answers
  1. Nicolas
    Nicolas avatar
    2 posts
    Member since:
    May 2011

    Posted 14 Aug 2011 Link to this post

    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
  2. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 17 Aug 2011 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Nicolas
    Nicolas avatar
    2 posts
    Member since:
    May 2011

    Posted 18 Aug 2011 Link to this post

    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 :

  5. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 23 Aug 2011 Link to this post

    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 >>

Back to Top