Live Chat Icon For mobile
Live Chat Icon

How to implement mouseover effects in a <asp:image> web server control

Platform: ASP.NET| Category: Controls

<asp:Image id='Image1' runat='server' ImageUrl='b2346.jpg'></asp:Image>

VB.NET


Image1.Attributes.Add('onmouseover', 'this.src=’b2456.jpg’')

C#


Image1.Attributes.Add('onmouseover', 'this.src=’b2456.jpg’');

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.