我在我的项目中使用 Bootstrap 3,我想在 ASP.net 按钮中使用 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" />
也许应该做一些额外的事情。
我怎样才能让它工作?提前感谢您的回复。