Get Link for Route - Asp.net MVC

I want to get only a link to the route. Using Html.ActionLink and Html.RouteLink returns the link in the anchor tag. Is there a way that I can only get the link.

+6
c # asp.net-mvc
source share
1 answer

Use the Url.Action and Url.RouteUrl methods.

+9
source share

All Articles