我在我的项目中使用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" />
Run Code Online (Sandbox Code Playgroud)
也许应该做一些额外的事情.
我怎样才能让它发挥作用?在此先感谢您的回复.