change the color of link button on mouseover event
2 views
Skip to first unread message
Er. Manish Insan
unread,
Dec 30, 2010, 3:42:46 AM12/30/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DotNetProfessionals-Group
-----------------------------------------------------write this script
in head part---------------------------------------------------
<script type ="text/javascript" >
function over()
{
document.getElementById('<%=LinkButton1.ClientID
%>').style.color = "blue";
//LinkButton1 is id of link button.
change it according to your button id.
}
function out()
{
document.getElementById('<%=LinkButton1.ClientID
%>').style.color = "red";
//LinkButton1 is id of link button.
change it according to your button id.
}
</script>
----------------------------------------write In the body tag where
linkbutton is placed----------------------------------------