the doubt is this: I have to use a <a></a>
, because of the notation I'm using in all my app, I'm working in ASP.NET MVC. So, I have an href="@Url.Action
with class="btn btn-primary"
, a simple button as this:@ Html.ActionLinkから<a href="@Url.Action()>
<a href="@Url.Action("Manage", "Account")" class="btn btn-primary text-right">
<span class="glyphicon glyphicon-circle-arrow-left" aria-hidden="true"></span> Administrar
</a>
(That was an example of the estructure that I need)
But now I have to convert this:
@Html.ActionLink(User.Identity.GetUserName(), "Manage", "Account",
routeValues: null, htmlAttributes: new { title = "Administrar" })
to that estructure. The fact is, I don't know where to put the routevalues
and User.Identity.GetUserName()
. I don't need the htmlAttributes
neither the title.
Please help me and thanks a lot.