saving a bitmap image but not to response.outputstream

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?
 
H

Hermit Dave

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top