How do I put a Bootstrap Glyphicon inside an asp:Button in ASP.Net?
问题 I'm using Bootstrap 3 in my project, and I want to use Bootstrap Glyphicons in ASP.net buttons. Here is the code I used, though it didn't work out (I got a sample which uses Twitter Bootstrap <span> tags instead of <i> tags): <asp:Button ID="btnRandom" runat="server" Text="<span aria-hidden='true' class='glyphicon glyphicon-refresh'> </span>" onclick="btnRandom_Click" /> Maybe something extra should be done. How can I get it to work? Thanks in advance for the replies. 回答1: You have to use asp