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

Radchart not displaying using server.execute

1 Answer 62 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Tristan
Top achievements
Rank 1
Tristan asked on 28 May 2009, 08:06 AM
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

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 29 May 2009, 02:30 PM
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.
Tags
Chart (Obsolete)
Asked by
Tristan
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or