I'd like to build a web form that will be an illustration consisting of rectangles, "rounded corner rectangles", arrows and text labels with text labels. I want users to be able to left and right click on the different graphics to produce different behaviors, including:
- highlight a graphic element
- add information associated with a graphic elements
- fill in the text value of the labels
A very full page could have maybe 100 graphic elements and 250 labels (which could be bounded input fields).
I've prototyped this in Access, and now I'm researching and testing to find the best general approach for implementing it in ASP.NET Visual Basic 2005. It would seem that the two main choices are A) controls or B) drawings.
I've got many questions, which I can distribute over several posts. For this post, I would very much appreciate getting some starting points for the research and testing. Having said that, some of the specific questions that come to mind are:
If Controls: Are there controls that can be made "click sensitive" in order to create these effects? Can/should I build custom controls with these behaviors? What do I need to do to be able to freely position the controls on the page?
If Drawings: What is the general approach to creating a drawing surface, and then getting mouse events from it? (I think I can figure out how to draw on the surface, if I know what to start with, and if I store where I've drawn what, then I can tell what was clicked on.)
Any opinions on whether one approach is clearly better than the other, for performance, simplicity or other reasons?
Any guidance in this area would be appreciated.
Thanks!
- highlight a graphic element
- add information associated with a graphic elements
- fill in the text value of the labels
A very full page could have maybe 100 graphic elements and 250 labels (which could be bounded input fields).
I've prototyped this in Access, and now I'm researching and testing to find the best general approach for implementing it in ASP.NET Visual Basic 2005. It would seem that the two main choices are A) controls or B) drawings.
I've got many questions, which I can distribute over several posts. For this post, I would very much appreciate getting some starting points for the research and testing. Having said that, some of the specific questions that come to mind are:
If Controls: Are there controls that can be made "click sensitive" in order to create these effects? Can/should I build custom controls with these behaviors? What do I need to do to be able to freely position the controls on the page?
If Drawings: What is the general approach to creating a drawing surface, and then getting mouse events from it? (I think I can figure out how to draw on the surface, if I know what to start with, and if I store where I've drawn what, then I can tell what was clicked on.)
Any opinions on whether one approach is clearly better than the other, for performance, simplicity or other reasons?
Any guidance in this area would be appreciated.
Thanks!