tags:

views:

92

answers:

2

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)
A: 

http://portal.mxlogic.com/images/transparent.gif points to a transparant image of 1 by 1 pixel.

ZippyV
A: 

In the end the url was pointing to an older server. Once that was corrected the images I expected were displayed. How "http://portal.mxlogic.com/images/transparent.gif" was getting substituted I still don't understand.

Thanks.

codie