Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How draw a shape over a picture to tag a person like in FB, with tooltip function.
And how draw a control (panel with 1 picture and 3 textboxes) in some specific location in the web page. I don´t ask for code, I´am asking for a tool or example in .NET. Any help is welcome.
Posted
Comments
joshrduncan2012 24-Jun-14 16:21pm    
What have you tried? Where are you stuck? Do you want someone to write the code for you and hand you a ready-made application?

1 solution

First of all, you should understand that ASP.NET allows you to generate any content on the fly, in response to HTTP request. In particular, you can generate any thinkable controls as a part of HTML. That should close the problem of controls; all ASP.NET is designed to serve up such things.

With graphics, the problem is more complex; there can be different approaches. First, you can use System.Drawing to create bitmaps on request, draw any graphics on them and include them on the page. You can make it on the fly (without storing any image files in the file system of the server's host, which would be quite obvious) by prescribing appropriate content type in the header of an HTTP response. Those types are standardized and supported here: http://www.iana.org/assignments/media-types/media-types.xhtml#image[^].
(See also: http://en.wikipedia.org/wiki/Content_type[^].)

Another approach would be using HTML5 Canvas feature. It would give you a lot more of flexibility and better performance. For further detail, please see my past answer: how to make a drawing area in asp.net[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900