2009-11-20

How to make the asp:HyperLink underlined and bold after clicked.

In C#.net code, call the asp:HyperLink controller by the id and apply the style as shown below.

name_of_the_controller.Style.Add("text-decoration", "underline");
name_of_the_controller.Style.Add("font-weight", "bold");

No comments: