0

Im try to add the Bootstrap Glyphicon Components for the MVC action link ,but i cant add this , please give me a solution.

Action Link

 @Html.ActionLink("Add", null/*"BlankEditorRow"*/, null, new { id = "addItem", @class = " btn-xs" })

Plus Glyph

 <span class="glyphicon glyphicon-plus"></span>
adiga
  • 34,372
  • 9
  • 61
  • 83
Codeone
  • 1,173
  • 2
  • 15
  • 40
  • 2
    Possible duplicate of [Insert Glyphicons bootstrap in @Html.ActionLink mvc asp.net](http://stackoverflow.com/questions/23049256/insert-glyphicons-bootstrap-in-html-actionlink-mvc-asp-net) – ramiramilu Jan 07 '16 at 08:46

1 Answers1

2

Add glyphicon glyphicon-plus class to ActionLink like following. Hope this will help you.

 @Html.ActionLink("Add", null/*"BlankEditorRow"*/, null, new { id = "addItem", @class = "glyphicon glyphicon-plus btn-xs" })
Ibrahim Khan
  • 20,616
  • 7
  • 42
  • 55