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

Razor to render as image

1 Answer 15 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Edward
Top achievements
Rank 1
Edward asked on 23 Apr 2018, 05:44 PM

     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?

 

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 25 Apr 2018, 08:54 AM
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.

Regards,
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.
Tags
Gantt
Asked by
Edward
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or