Dynamic controls for web users

  • Thread starter Thread starter sweetpotatop
  • Start date Start date
S

sweetpotatop

Hello,

Is it possible in asp.net to create a dynamic page for web-user, who
can create a flow-chart/work flow, with boxes, links and have an option
to save it. So that, when others go to the web page again, they will
see the new flow chart?

Thanks in advance.
 
This would be very time consuming and complicated but yes.

You will need lots of client side scripting for moving the objects around on
the screen, you could then have a submit button that would post the page back
to the server. Once back at the server you will need to save the document
location of all the controls (probably to and xml file).

e.g.
if (IsPostPack)
{
Save controls location
}
else
{
Populate controls location
}

as for the boxes etc you could use panel controls. You would have to use the
Drawing class if you wanted to create other shapes.

I would never recommend this, it would be better if you could draw the flow
chart in some kind of design tool (Visio, ConceptDraw etc) and save the
desing as an image in a folder, You could then have an Image control on the
page that would have the 'src' defined as the save location.
 
Thank you very much for your prompt reply. You definitely gave me a
good idea to start. However, what if each box represent a link to
another page. That way, if someone click on that box, it will bring
him/her to another page.

Thanks again.
 
(e-mail address removed) wrote in @i39g2000cwa.googlegroups.com:
Thank you very much for your prompt reply. You definitely gave me a
good idea to start. However, what if each box represent a link to
another page. That way, if someone click on that box, it will bring
him/her to another page.

GoDiagram has a set of web enabled diagramming tools.

Or perhaps use a Java Applet/.NET applet.
 
Take a look at our MetaDraw component.
www.Bennet-Tec.com/btproducts/MetaDraw/MetaDraw.htm
and for a live sample inside a web page see

www.bennet-tec.com/btproducts/MetaDraw/WebSamples/Drawing/md3_demo.htm

MetaDraw is a vector based drawing tool which may be used
to design flow charts or other drawings. The OCX edition may
be placed within a web page for interactive use by end-users
working with IE as their browser on a Windows platform.
All the drawing and diagramming functionality is built into MetaDraw.
You would then need just a very small amount of client side script
to set up the user interface as you want ( for instance add a button
on the web page to set MetaDraw property for user to draw boxs,
and another button on web page to set the same property to put
user in mode to draw connecting links between boxes or for another
mode for drawing other shapes, or for another mode to drag shapes
around, etc..

Once the user is done he could press a submit button to
send the image back to your server. There is an upload
feature built in for MetaDraw if you get it with Subscription features
license ). Your server will need some small amount of ASP NET
code to accept the image and store it however you might want for
other users to access. MetaDraw also supports downloading
a diagram from a web page - and depending on your script you can
either allow further modifications at that time or available in
presentation
only mode.

Oh- and having links to other pages is easy as well. You can store
a URL for each shape in MetaDraw and have MetaDraw automatically
launch that page when user double clicks on the associated shape.

Check out the web page references I noted above

Best wishes on the project

* * Please include a copy of this message with your reply

Jeff Bennett
(e-mail address removed)

* Bennet-Tec Information Systems, Inc
* 50 Jericho Tpk, Jericho, NY 11753
* Phone 516 997 5596, Fax - 5597
* RELIABLE Components Make You Look Sharp!
* TList/Pro * ALLText HT/Pro * MetaDraw *
* Custom Software Development Services Too.
* WWW.Bennet-Tec.Com

=================== ===================
 
Back
Top