code:
LinkButton linkButton = new LinkButton(); linkButton.OnClientClick="changecolor";--i need to change this to on mouse focus event
There is no property for the link button like we have for onClientClick .
onClientClick
linkButton.Attributes.Add("onmouseover", "yourChangeColorFunction();");
You can define a CSS class for a link button, which will have a different color on hover.
a { color:black; } a.hover { color:blue; }