ASP.NET Actionlink with glyphicon and text with different font

后端 未结 10 961
臣服心动
臣服心动 2020-12-04 15:12

I want to present a button with @Html.ActionLink but i need to have my application font in the text.

With this code:


    @H         


        
10条回答
  •  独厮守ぢ
    2020-12-04 15:55

    Try it!

    @Html.ActionLink(" Cerrar sesión", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" , @class = "glyphicon glyphicon-log-in" })
    

提交回复
热议问题