[RESOLVED] display the bitmap image


Dear all,

i had drawed a graph by clicking a analyze button, however when i click it, it will go to a new screen. below is my coding:

Response.ContentType = "image/gif"
 

        objBitmap.Save(Response.OutputStream, ImageFormat.Gif)




below is the condition i want, when i click the button Analyze, the image (graph) is showed under the button with the header and template:

 

my current condition is when i click the button analyze, it will totaly display the graph only without the header and template as print screen below:


 


how to change the coding to let the template and heaser showed together with the bar chart?


hope can get reply from any of you. i am using vb.net

thanks in advanced.

you can drow images in a separate page. and put one image control in your current page.

 when button click event you can change  imagecontrol image url to previously mentioned page.

button_click()
{
image1.imageurl="pageIsUsingToDisplayImage.aspx?imageId=someIdofimage";
}

if you want ot know more about handing image check this link

http://www.codeproject.com/Articles/126421/Image-Handling-In-ASP-NET.aspx

thoughts on "[RESOLVED] display the bitmap image"

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>