Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8468655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:59:42+00:00 2026-06-10T15:59:42+00:00

I have a div in which the user creates a simple diagram by dragging

  • 0

I have a div in which the user creates a simple diagram by dragging and dropping other divs into it, i’ve accomplished this by using javascript.

I am looking for a way to save this div to an image and save it as a file on my server (IIS/ASP.NET).

I’ve seen countless of methods but i am confused on which method will work.
It has to work in the following browsers : IE7+, Chrome,Safari, Firefox.

That’s why i’m thinking of doing it server side, but i have no idea how i can accomplish something like that. I’ve found different ways to make a screenshot from an URL in ASP.NET. But it’s not just an URL , its the current page on which the user is. And it depends on logindata etc.

tldr:
Would it be possible to create an image from a div in Javascript? if so, will this method work in IE7+? if not, Is something like that possible serverside (asp.net) ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T15:59:43+00:00Added an answer on June 10, 2026 at 3:59 pm

    What you’re creating isn’t an “image” – it’s just a collection of HTML elements (presumably styled with CSS) that exist in a visually-recognisable pattern.

    To generate a binary image from this you’ll need to serialize this collection of elements (i.e. a view-graph), pass that to the server, then the server interprets the serialized view-graph as a series of drawing commands into a new bitmap, then returns the bitmap to the user.

    The actual implementation of this is an exercise left up to the reader. I cannot be more precise because you’ve provided almost zero technical details (such as how your Javascript-based drawing tool actully works).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a (Javascript) tool which dynamically creates a div whenever the user clicks
I have a div which I have attached an onclick event to. in this
I have div which has three buttons as, <div id=buttons> <input id=preview class=ButtonStyle type=submit
I have DIV element which only has a few lines in and a background
I have div class=contentBlock which is treated as the container for updating <div class=contentBlock></div>
I have div ( #child ) which won't expand to the full height of
I have a div which contain lots of input[type=text] fields. I want to put
I have a div which contains 2 elements. First element is a span and
I have a DIV which I want to be removed when I click a
I have a div which displays the current value of the slider and the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.