|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Data diagrams - like the ones in office (excel, word, et al.)I want to do some diagrams based on data... the question is... What is the best way of doing this in a web control (CustomControl)? After generating the diagram using Graphics objects, what should I do after? Solutions : 1) Save to stream and send the stream to the user using mime types (using a link to a file that will do this process as the image src). I don't know exactly how to send the image and mime type in .NET but I did something similar in php and asp 3.0 for images stored in db, so I guess it's not that different in asp.net. Could somebody send me a link to a page that explains this process please? Building the diagram is not that difficult... in fact, we've done something similar for a winforms application, so converting it to web won't be that difficult... This way I could save some server hd space by not storing every single image I generate. 2) Save to file and link directly to this file... every day, erase the files from the day before to clean some unneeded files. 3) do you have some other solutions? Can I draw directly to the browser (I guess not)? I've seen some very powerful controls (like spreadsheets and outlook calendar, et al)... Are they using one of my previous stated solution or other technique? thanks ThunderMusic Hi,
If you're willing to consider a commercial solution for this check out Nevron Diagram (www.nevron.com) - it can generate the image on the fly, stream it to the browser and create an adjacent image map - plus it can fire back postback events when the user clicks on a shape or node. There are also open source projects but in this case you may get stuck with a product that is not supported. Best regards, Bob Milanov Nevron ThunderMusic wrote: Show quoteHide quote > Hi, > I want to do some diagrams based on data... the question is... What is the > best way of doing this in a web control (CustomControl)? > > After generating the diagram using Graphics objects, what should I do after? > > Solutions : > 1) Save to stream and send the stream to the user using mime types (using a > link to a file that will do this process as the image src). I don't know > exactly how to send the image and mime type in .NET but I did something > similar in php and asp 3.0 for images stored in db, so I guess it's not that > different in asp.net. Could somebody send me a link to a page that explains > this process please? Building the diagram is not that difficult... in fact, > we've done something similar for a winforms application, so converting it to > web won't be that difficult... This way I could save some server hd space by > not storing every single image I generate. > 2) Save to file and link directly to this file... every day, erase the files > from the day before to clean some unneeded files. > 3) do you have some other solutions? Can I draw directly to the browser (I > guess not)? I've seen some very powerful controls (like spreadsheets and > outlook calendar, et al)... Are they using one of my previous stated > solution or other technique? > > thanks > > ThunderMusic
Really Stuck on a Canlendar Control PLEASE HELP!!!
Javascript disabled Menu control Accessibility Events for programatically added controls UserControl values lost on PostBack I am trying to hide some textboxes, dropdownlists and labels in datalist Video Player in browser... how do I do? CustomWeb Controls and Events I want to know what is a Functional Specification Document? Clikable rows in Grid View treview asp.net 2.0 issue |
|||||||||||||||||||||||