I am developing a Dashboard for a web application , dashboard shows various Chart (Telerik RadChart) Images and GridView Tables. See below image:
)
To increase performance of dashboard loading we are implementing Caching for dashboard.
We are generating jpeg images from RadChart everyday and storing in a folder on server, these images are available whole day in caching, next day they gets dirty and regenerated on Dashboad load.
I am able to successfully export RadChart to images but don’t know how to export GridView output as images.
Let me know if you need more information.
I would say the best way to go about this would be to:
Generate the gridview as html. You may have to manually do this by looping through your data and outputting it as an html table.
Render your outputted html as an image.
Here is a link that explains converting html to images in c#.
Otherwise have a look through this answer Converting gridview into image. It seems your question is quite common.