Razor to render as image

2 posts, 0 answers
  1. Edward
    Edward avatar
    33 posts
    Member since:
    Aug 2014

    Posted 23 Apr 2018 Link to this post

         I am using the Razor wrappers for creating a Gantt chart.  I have it displaying without issues, and people are happy.  However, I also need to convert it into an image to save locally on the server.   I see a lot of places where the JQuery works to save it as an image, but is there a way to render it as an image directly from Razor?


  2. Veselin Tsvetanov
    Veselin Tsvetanov avatar
    1209 posts

    Posted 25 Apr 2018 Link to this post

    Hi Edward,

    I am afraid, that the image representing the Gantt widget could not be generated directly in razor. You will need to create the image on the client with JavaScript and send that image to the server to be saved.

    Veselin Tsvetanov
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top