I have the link below on a razor page:
@Html.ActionLink(\"Create New Profile\", \"Create\", \"Profile\", new { @class=\"toplink\" })
It app
I'm not sure the exact cause of this, but change it to:
@Html.ActionLink("Create New Profile", "Create", "Profile", new {}, new { @class="toplink" })
I don't know which overload MVC is picking when you leave off the last parameter (htmlattributes
is the added one), but that will fix it. One of these days I'll investigate and figure out exactly what's going on.