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