PC Review


Reply
Thread Tools Rate Thread

ByteArray to Image Control

 
 
J-T
Guest
Posts: n/a
 
      14th Aug 2005
Is it possible to assign a byte Array to an Image control on my page.I
googled this and most of the examples use the response.WriteBinary but I
want to have this image some where in my page.This approach wipes out all my
other controls and only shows the picture.

Thanks a lot


 
Reply With Quote
 
 
 
 
Steve C. Orr [MVP, MCSD]
Guest
Posts: n/a
 
      14th Aug 2005
An HTML page cannot display a picture. A page can only reference a picture
at a separate URL.
This is a limitation of Internet Explorer.

I suggest you create a special page (or HTTPHandler) for outputting the
image(s).
Here's more info:
http://SteveOrr.net/articles/ImproveYourImages.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


"J-T" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is it possible to assign a byte Array to an Image control on my page.I
> googled this and most of the examples use the response.WriteBinary but I
> want to have this image some where in my page.This approach wipes out all
> my other controls and only shows the picture.
>
> Thanks a lot
>



 
Reply With Quote
 
J-T
Guest
Posts: n/a
 
      15th Aug 2005
Thanks ,I created a special page (aspx and not ascx) and my problem got
solved.I appreciate your help.

"Steve C. Orr [MVP, MCSD]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> An HTML page cannot display a picture. A page can only reference a
> picture at a separate URL.
> This is a limitation of Internet Explorer.
>
> I suggest you create a special page (or HTTPHandler) for outputting the
> image(s).
> Here's more info:
> http://SteveOrr.net/articles/ImproveYourImages.aspx
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
>
> "J-T" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Is it possible to assign a byte Array to an Image control on my page.I
>> googled this and most of the examples use the response.WriteBinary but I
>> want to have this image some where in my page.This approach wipes out all
>> my other controls and only shows the picture.
>>
>> Thanks a lot
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control image property locking image file even after image cleared steve Microsoft VB .NET 4 6th Jul 2006 02:57 AM
How to insert the image into the richtextbox control and catch the mouse click event of that image. Sakharam Phapale Microsoft C# .NET 0 1st Mar 2005 10:05 AM
Get image to bytearray RichardF Microsoft ASP .NET 2 16th Feb 2005 11:02 PM
Changing image on Image control in Form running Access 2002 Runtime John Cosmas Microsoft Access 1 9th Feb 2004 02:00 PM
Changing image on Image control in Form running Access 2002 Runtim John Cosmas Microsoft Access Forms 0 6th Feb 2004 08:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:46 PM.