T
ThunderMusic
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
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