RadChart

Thread is closed for posting
2 posts, 0 answers
  1. Vijay
    Vijay avatar
    5 posts
    Member since:
    Apr 2012

    Posted 22 Mar 2013 Link to this post

    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
  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 27 Mar 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top