-
image or stream?
hello,
as some of you might have seen from previous posts, i have a vb.net web application.
my application uses teeChart to produce an image file.
this image file is saved at the server location.and is then written to an sql database.
i load the image into a dataset that is used as the datasource for a crystal report that has been exported into a pdf file.
i need to display a "preview" style window in the browser.
i have tried to use the image as an asp:image object, but when another image is create i dosn't refresh until F5 is hit.
i think this is beacuse the image is held on the server, and is being displayed on the client.
if i try to use the reload page function the text fields that set the properties for the creation of the image get set to blank, so that dosn't work!
Will saving the teeChart image to memory steam allow me to refresh that image?
if so how, and what do i need to put in the aspx file (at the moment i have "<asp:image id=trendImage>")
-
its ok, i have solved this now :) :) :) :) :)
-
-
i set the image.url to an aspx file that runs the code to produce the teeChart image as a stream and writes it.
not the jpeg file.
tom