J
Jeff
hi
asp.net 2.0
I get this compile error:
'Image' does not contain a definition for 'ImageUrl'
Image image = (Image)e.Item.FindControl("img");
image.ImageUrl = "~/image.png";
the compile error is on the second line above. This is strange. This used to
compile without problem. But it started after I had created a separate
folder for storing masterpages (I moved the masterpages and updated link to
them in each .aspx). Also created a new masterpage, by copying the markup of
another masterpage. Then the compile errror arrived.
any suggestions?
asp.net 2.0
I get this compile error:
'Image' does not contain a definition for 'ImageUrl'
Image image = (Image)e.Item.FindControl("img");
image.ImageUrl = "~/image.png";
the compile error is on the second line above. This is strange. This used to
compile without problem. But it started after I had created a separate
folder for storing masterpages (I moved the masterpages and updated link to
them in each .aspx). Also created a new masterpage, by copying the markup of
another masterpage. Then the compile errror arrived.
any suggestions?