Tag: aspbutton

如何在ASP.Net中的一个ASP:Button中放置一个Bootstrap Glyphicon?

我在我的项目中使用Bootstrap 3,我想在ASP.netbutton中使用Bootstrap Glyphicons。 这里是我使用的代码,虽然它没有工作(我有一个使用Twitter Bootstrap <span>标签,而不是<i>标签)的示例: <asp:Button ID="btnRandom" runat="server" Text="<span aria-hidden='true' class='glyphicon glyphicon-refresh'> </span>" onclick="btnRandom_Click" /> 也许应该做些额外的事情。 我怎样才能使它工作? 预先感谢答复。