saving a bitmap image but not to response.outputstream

  • Thread starter Thread starter Joseff
  • Start date Start date
J

Joseff

I have this Bitmap object declared and outputted to the
browswer this way:
invoiceBMP.Save(Response.OutputStream, ImageFormat.Gif);

However, the result is that the existing static controls
of the page gets overwritten and only the image appears.
How do i output the bitmap image to the browser without
using Response.OutputStream so as not to overwrite the
whole web page?
 
create a seperate page... which will just output to the response.output
stream...
now from the page you want to display the image... put in imagebutton or
<img>
and put the source as your image output page...

HTH
 
Back
Top