MVC: How do I create link on server side
Html.ActionLink
on the server side?
Thank you for your help!In your controller you can use Url.Action
to generate a new url using actions, controllers and routevalues.
This will not return a <a>
tag, but only the url, for you to use in your controller.
精彩评论