Hi,
I am having a strange problem when using the HTMLIMAGE control.
I have a aspx page that contains the htmlimage control (explore.aspx).
I generate an <img src=...> tag, with a URL that points to another
aspx
page (with some parameters, say
create.aspx?objid=2491618830345830579). In the aspx I read an image
from the database (based on the objid). I then set the appropriate
ContentType (say "image/jpeg") and use Response.BinaryWrite to write
the data.
Most of the time this works just fine. However, some times the image
does not appear and a broken icon appears in the control on the
explore.aspx page.
Calling the page that set the img src property of the control (i.e.
create.aspx?objid=2491618830345830579 works just fine).
This is really a problem for me. Any ideas on what's going on?
The explore page is a rather complex page containing 5 htmlimage
controls. All images are retrieved from a sql server database.
Any ideas?