ASPX has image from portal.mxlogic.com

Posted by codie on Stack Overflow See other posts from Stack Overflow or by codie
Published on 2010-03-31T18:06:44Z Indexed on 2010/04/02 4:13 UTC
Read the original article Hit count: 517

Filed under:
|

I have a aspx page I'm trying to (remotely) debug. It should add an image and set the src. The value seems correct if i msgbox the value that should be used for the "ImageUrl"

But viewing the page there is no image and the src is:

http://portal.mxlogic.com/images/transparent.gif

This is a mcaffee page so is this some security thing...that is just a wild\crazy guess. Maybe i'm missing something very obvious...I did not write the code and I'm not really a aspx developer.

Any ideas??

llf

as requested some code...

TableCell tc = new TableCell();

{code to create imgurl ... very specific to this situation}

MessageBox(imgurl);  //The imgurl value here is correct
if (imgurl != null)
{    
  image.ImageUrl = imgurl;
}
else
{
   MessageBox("image url is null"); 
}

tc.Controls.Add(image);
tr.Cells.Add(tc);
Table1.Rows.Add(tr)

© Stack Overflow or respective owner

Related posts about aspx

Related posts about images