how to add glyph to actionlink
how to add glyph to actionlink

Hi, I'm trying to a bootstrap glyph icon to an html.actionlink but it doiesnt sem to be working:
here's my code:
return '@Html.ActionLink("Summary", "EmployeeSummary", "Employee", new {@class = "glyphicon glyphicon-list-alt", EmployeeID = "replace" },null)'.replace("replace", data) ;
Is my syntax incorrect or am I putting the code ({@class = "glyphicon glyphicon-list-alt") in the wrong place?
thanks
This discussion has been closed.
Answers
Hi @samw ,
Is this related to DataTables? It might be better to post on StackOverflow or some other forum.
Cheers,
Colin