Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コード:
LinkButton linkButton = new LinkButton(); linkButton.OnClientClick="changecolor";--i need to change this to on mouse focus event
のようなリンク ボタンのプロパティはありませんonClientClick。
onClientClick
linkButton.Attributes.Add("onmouseover", "yourChangeColorFunction();");
ホバーしたときに異なる色になるリンク ボタンの CSS クラスを定義できます。
a { color:black; } a.hover { color:blue; }