I\'d like to give the like generated with an Html.ActionLink an HTML id so I can change the CSS depending on where I am. I have a MasterPage with a set
Html.ActionLink
MasterPage
Try this:
<%: Html.ActionLink("Some View", "Index", "controller", null, new {id="something}")%>