convert DIV contents to Image in C# or JavaScript
asp.net, c#, css, html, javascript
Solution
As you don't want to conver whole HTML page but a part of html, See the answer given by p.campbell in the following link for the perfect solution.
Convert a HTML Control (Div or Table) to an image using C#
Other answers maybe providing capturing whole html web page to image. If you find the p.campbell's answer hard to implement , create an html page in the website with only Div content and capture it to image by given other answers.
Problem
I have a DIV container which has some text, background-image, image. I need to convert that whole DIV contents into image and save into local folder. Please guide me how to convert Div contents to Image using JavaScript or C#. I have searched in Google, but not getting correct result. give some source code please.. help me guys.