Permalink LinkButton

I am using asp: LinkButton. The text emphasizes that it hovers over it. However, I want him to always emphasize. Can someone tell me how to do this?

Thank!

+5
source share
2 answers

Try setting LinkButton.CssClass to "underlinedLinkButton", then add this to your CSS file.

.underlinedLinkButton {text-trim: underline; }

+3
source

I got it to work by setting the attribute Font-Underline="True"as follows:

<asp:LinkButton runat="server" ID="_MyLinkButton" Font-Underline="True" 
    Text="X" OnClick="MyLBClick" />
0
source

All Articles