Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rendering Graphics from a Custom control
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Rendering Graphics from a Custom control
Divers
Thread ID:
00821601
Message ID:
00821601
Vues:
48
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform