How to draw on web page?
-
I am new to web development. I am trying to write a web application that a user can click on 2 boxes and program should draw a line between them. I have no clue on how to start this project. Any help is much appropriated. How is google map written? how can they draw shapes and users can click on it? Would like my app to behave the same way. Thanks in advanced.
-
I am new to web development. I am trying to write a web application that a user can click on 2 boxes and program should draw a line between them. I have no clue on how to start this project. Any help is much appropriated. How is google map written? how can they draw shapes and users can click on it? Would like my app to behave the same way. Thanks in advanced.
Are you really sure you wrote this in the right forum? You wouldn't do this using C# - you would use JavaScript for this.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
-
Are you really sure you wrote this in the right forum? You wouldn't do this using C# - you would use JavaScript for this.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
Thanks for the response Pete. So what you are saying is this functionality is not possible with c#. I though I could do this in C# since I have done similar functions with a Win Forms. What I thought I could create a embedded object (such as ActiveX) and go in that route. So that was a wrong thinking. So I should try this in JavaScript or HTML5?
-
Thanks for the response Pete. So what you are saying is this functionality is not possible with c#. I though I could do this in C# since I have done similar functions with a Win Forms. What I thought I could create a embedded object (such as ActiveX) and go in that route. So that was a wrong thinking. So I should try this in JavaScript or HTML5?
If you don't just want it to run in IE on Windows, you shouldn't use ActiveX. If you look at Google Maps (for instance), you will see that they make extensive use of JavaScript.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
-
Thanks for the response Pete. So what you are saying is this functionality is not possible with c#. I though I could do this in C# since I have done similar functions with a Win Forms. What I thought I could create a embedded object (such as ActiveX) and go in that route. So that was a wrong thinking. So I should try this in JavaScript or HTML5?
I think this correct solution for ur problem bro there will be control in wind froms called web browser i think it will help u well and u should import class library called using.system.diagonstic()
-
I think this correct solution for ur problem bro there will be control in wind froms called web browser i think it will help u well and u should import class library called using.system.diagonstic()
A couple of points. First, when answering questions in the forums, it is best not to use text speak. This is looked on as unprofessional, and will often result in people downvoting your answer. Secondly, it is important to consider what the user is actually asking. He has asked how to draw on a web page, and your answer has absolutely nothing to do with drawing on a web page. I commend you for wanting to help out, but it's better not to answer than to give completely the wrong answer.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier