<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
function change(x) {
x.src = "../Images/out_button.png";
}
</script>
</head>
<body>
<form id="form1" runat="server">
<asp:image id="Image1" runat="server" imageurl="~/Images/in_button.png"/>
<asp:ImageMap ID="ImageMap1" runat="server" ImageUrl="~/Images/in_button.png">
</form>
</body>
</html>
Code Behind Page
protected void Page_Load(object sender, EventArgs e)
{
Image1.Attributes.Add("onmouseover", "change(this);");
ImageMap1.Attributes.Add("onmouseover", "change(this);");
}
you can perform using this javascript...