tags:

views:

81

answers:

1

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

+3  A: 

Use Url.Action and Url.RouteUrl methods.

Alexander Prokofyev