[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webcontrols

stream resource bitmap to aspx image

Sarmad Aljazrawi

2/14/2004 8:29:00 PM

Hi,

is there a way to stream/show a bitmap loaded from a resource file to an
image control (html or asp) in an aspx file?

regards
Sarmad Aljazrawi
B.Sc. Computer Science, MSDBA, MCP
www.aljazrawi.net



1 Answer

Teemu Keiski

2/15/2004 11:25:00 AM

0

Hi,

it would need separate HTTP handler (or page) to server the image from
resource file and this handler is then assigned to the src/ImageUrl of the
Image. Images are separate binary resource from HTML so they need to be
requested separately. Remember that image, <img> tag is like <img
src="image.gif"> which does actually separate request to fetch the image.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist


"Sarmad Aljazrawi" <anonymous[shylme]@discussions.microsoft.com> wrote in
message news:eKjWtkz8DHA.3704@tk2msftngp13.phx.gbl...
Hi,

is there a way to stream/show a bitmap loaded from a resource file to an
image control (html or asp) in an aspx file?

regards
Sarmad Aljazrawi
B.Sc. Computer Science, MSDBA, MCP
www.aljazrawi.net