Eliyahu,
Yep, I did that and the image is created and displayed. However, the image
takes up the whole page. My page has controls on the left for generating the
image properties, and a control on the right to display the image. I need to
be able to generate the image and place it in other pages without saving to
file.
Can I use some sort of user control, placeholder or literal that will hold
the image amongst the other page content?
my code is:
Image img = MyClass.GenerateImage();
Response.ContentType = :image/jpeg";
img.Save(Response.Outputstream, ImageFormat.Jpeg);
img.Dispose();
I have tried this code in a Web UserControl, but still the whole page is
taken up by the image.
--
Thanks Brian
"Eliyahu Goldin" wrote:
Brian,
You need to make an aspx page GetImage.aspx that will make the image and
stream it down to the client in the http response .
Eliyahu
"briand" <br****@discussions.microsoft.com> wrote in message
news:4D**********************************@microsof t.com...I am writting a control that paints an image to a graphic (created from a
bmp).
I want to be able to display the painted image directly without having to
save to file and link to the saved image.
I have been told this can now be done in .NET 2.0.
Is this so? How?
--
Thanks Brian