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

RadChart

1 Answer 47 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Vijay
Top achievements
Rank 1
Vijay asked on 22 Mar 2013, 11:26 AM
Hello,

 We are using Telerik.web.chart charts and then convert them to images using chart.Save()

I works fine when I use from web application, however if I invoke using windows service it throws an

"Object reference not set to an instance of an object." error.

Stack trace suggests   at Telerik.Web.UI.RadChart.Save(Stream stream, ImageFormat imageFormat). 


however radchart object itself is not null but scriptmanager property is 

Page cannot be null. Please ensure that this operation is being performed in the context of an ASP.NET request

is there a way to generate images using telerik.web.UI outside http context or is it a completely different error. 

cheers Vijay

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 27 Mar 2013, 12:36 PM
Hello Vijay,

Can you please provide more details about the problem? As mentioned in my reply to the other message you have posted it seems to work correctly on our end.

Best regards,
Ves
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Chart (Obsolete)
Asked by
Vijay
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or