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
  • 31,610
  • 8
  • 53
  • 74
Codeone
  • 1,138
  • 2
  • 14
  • 38
  • 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,280
  • 7
  • 39
  • 53