J
Jay
I have an imagebutton like so:
<asp:ImageButton onmouseover="this.src='lc.gif';"
onmouseout="this.src='nc.gif';" id="ImageButton1"
runat="server" ImageUrl="nc.gif"
AlternateText="AGR"></asp:ImageButton>
The ImageButton1_Click event is like so:
Private Sub ImageButton1_Click(ByVal sender As System.Object, ByVal e As
System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click
ImageButton1.ImageUrl = "dc.gif"
ImageButton1.AlternateText &= " selected"
End Sub
When the mouse is over I need to change the image to lc.gif. When the mouse
is NOT over it should default back to its original image (nc.gif). HOWEVER,
when it is clicked it should go to dc.png. and stay there - no more mouse
over, out, etc. How can this be done.
Thanks a lot.
Jay
<asp:ImageButton onmouseover="this.src='lc.gif';"
onmouseout="this.src='nc.gif';" id="ImageButton1"
runat="server" ImageUrl="nc.gif"
AlternateText="AGR"></asp:ImageButton>
The ImageButton1_Click event is like so:
Private Sub ImageButton1_Click(ByVal sender As System.Object, ByVal e As
System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click
ImageButton1.ImageUrl = "dc.gif"
ImageButton1.AlternateText &= " selected"
End Sub
When the mouse is over I need to change the image to lc.gif. When the mouse
is NOT over it should default back to its original image (nc.gif). HOWEVER,
when it is clicked it should go to dc.png. and stay there - no more mouse
over, out, etc. How can this be done.
Thanks a lot.
Jay