what you could do is have an aspx page called chart.aspx and in that page
render out the image you want. This is then referenced via an image control
in your web part and hence you have the image you want in your web part
without writing over the complete page.
HTH
Ollie Riches
"Shreeram" <Sh******@discussions.microsoft.com> wrote in message
news:07**********************************@microsof t.com...
When i use the method: myBitmap.Save....
the image draws over the entire page instead of just the
web part.
i want to display the image in just the webpart.
Is there a way to accomplish this?
"Ollie Riches" wrote:
check out this article from MSDN, I believe it has what you want
http://msdn.microsoft.com/msdnmag/is...w/default.aspx
so thing like I believe:
myBitmap.Save(Response.OutputStream, ImageFormat.Jpeg);
HTH
Ollie Riches
"Shreeram" <Sh******@discussions.microsoft.com> wrote in message
news:74**********************************@microsof t.com... > Hello,
>
>
> I have a chart object which returns the chart created as a BitMap
> object.
> I want to render this Bitmap object as an image in a WebPart iam
> developing.
>
>
> Can anyone please tell me how to go about doing it.
>
>
> Thanks
> Shreeram
>
>