I am trying to do something like this:
<asp:Button ID="btnSearch"
runat="server"
CssClass="greybtn"
Text='<span>Search</span>'
OnClick="btnSearch_Click" />
It displays <span>Search</span>
instead of just Search
.
You can put a span on an ASP.NET LinkButton like this:-
<asp:LinkButton ID="TestLinkButton" CssClass="btn btn-success" runat="server"><span class="glyphicon glyphicon-refresh"/>Press Me</asp:LinkButton>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With