rodchar,
When you save a bitmap, you are saving it to the local file system.
That is, the file system on the server. When you set the imageurl property,
you need to set it to a URL that will deliver that file. There is no way to
directly assign the bitmap to the ImageUrl property. What you are doing
(generating the image in a separate referenced page) is what is required,
due to the nature of HTML (with the ability to hotlink).
Is there a block that you are hitting because of this?
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"rodchar" <ro*****@discussions.microsoft.comwrote in message
news:9A**********************************@microsof t.com...
hey all,
i'm using the following line of c# code:
bitmap.Save(Response.OutputStream, ImageFormat.Jpeg);
and i use this by saying
image.imageurl = picture.aspx?id= ...
my question is: is there anyway to directly assign the bitmap to the
imageUrl property without needing the aspx page to host it?
thanks,
rodchar