T
TM
I have this line below coded in the aspx/html at design time:
*****************
<TD>
<asp:ImageButton id="Imagebutton1"
onmouseover="this.src='<%=MyImage2%>'"
onmouseout="this.src='<%=MyImage1%>'"
runat="server" ImageAlign="Left"
ImageUrl="<%=MyImage1%>">
</asp:ImageButton>
</TD>
*****************
"MyImage1" and "MyImage2" are c# string variables contain the physical paths
initialized during page_load operation.
When hovering the ImageButton1, I got a "RED X" image instead of the real
image. I displayed the path of MyImage1 & 2 and they both show valid images.
Thanks,
Thomas
*****************
<TD>
<asp:ImageButton id="Imagebutton1"
onmouseover="this.src='<%=MyImage2%>'"
onmouseout="this.src='<%=MyImage1%>'"
runat="server" ImageAlign="Left"
ImageUrl="<%=MyImage1%>">
</asp:ImageButton>
</TD>
*****************
"MyImage1" and "MyImage2" are c# string variables contain the physical paths
initialized during page_load operation.
When hovering the ImageButton1, I got a "RED X" image instead of the real
image. I displayed the path of MyImage1 & 2 and they both show valid images.
Thanks,
Thomas