I have built a custom control on System.Web.UI.Control. Amoung other things the control renders the following:
<img src=”RenderGraphic.aspx” />
In RenderGraphic.aspx I render a bitmap using GDI+ and send it out through the Response stream.
I would like to get rid of the ReaderGraphic.aspx and render the graphic straight from the custom control. I’ve thought about writing a file to the disk and putting the path in an img tag but I’d rather not have to write a file to the disk. Is there another way to render the graphic from the Render method of the custom control?
Rip Ryness
International Falls, MN