Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rendering Graphics from a Custom control
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Rendering Graphics from a Custom control
Miscellaneous
Thread ID:
00821601
Message ID:
00821601
Views:
49
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
Next
Reply
Map
View

Click here to load this message in the networking platform