Radchart not displaying using server.execute

Thread is closed for posting
2 posts, 0 answers
  1. Tristan
    Tristan avatar
    1 posts
    Member since:
    May 2009

    Posted 28 May 2009 Link to this post

    Dear sir, madame,

    I am using radchart 4.0 in a Gridview to generate a report (report.aspx). When I call on this page using server.execute the chart is not displayed.

     

    Dim htmlStringWriter As StringWriter = New StringWriter()

    Server.Execute(

    "rapport.aspx?id=" & id & "&print=true", htmlStringWriter)  

     

     

     

    Dim htmlCodeToConvert As String = htmlStringWriter.GetStringBuilder().ToString()  

    htmlStringWriter.Close()

     


    When I look in the html-view of VS2008 I get a broken image. When I visit the report.aspx directly the chart is displayed.
    What can I do about this?

    Kind regards,

    Tristan
  2. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 29 May 2009 Link to this post

    Hi Tristan,

    Using Server.Execute is not supported with RadChart. As a work-around we suggest that you use the Save() method to save your chart to a file location and then display it as you see fit.

    Best wishes,
    Vladimir Milev
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
Back to Top