ASP.NET Actionlink with glyphicon and text with different font

后端 未结 10 1006
臣服心动
臣服心动 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:52

    How about using Html.BeginForm with a FormMethod.Get / FormMethod.Post

    @using (Html.BeginForm("Action", "Controller", new { Area = "" },
    FormMethod.Get, htmlAttributes: new { title = "SomeTitle" }))
    {   
       
    }
    

提交回复
热议问题