Hi
I have an ASP page that has an image on it with no URL set....I do this in the code behind and it works perfectly, however, if a company logo does not exist, the ImageURL is not set, which results in a blank image (good) with a border displayed (bad).
MY ASP for the image is as follows:
<asp:Image ID="Image1" runat="server" width="120px" height="120px" BorderStyle="None" BorderColor="White" BorderWidth="0px" />
Is there anyway I can turn the border off if the ImageURL is not set?
Many thanks
Steve
I have an ASP page that has an image on it with no URL set....I do this in the code behind and it works perfectly, however, if a company logo does not exist, the ImageURL is not set, which results in a blank image (good) with a border displayed (bad).
MY ASP for the image is as follows:
<asp:Image ID="Image1" runat="server" width="120px" height="120px" BorderStyle="None" BorderColor="White" BorderWidth="0px" />
Is there anyway I can turn the border off if the ImageURL is not set?
Many thanks
Steve