Is it possible to use an ActionLink containing an element?

前端 未结 5 1435
[愿得一人]
[愿得一人] 2021-01-11 14:43

As the question says, Is it possible to use an ActionLink containing an element, and if not, what is the best way to achieve it?

For example, lets say I have a

5条回答
  •  难免孤独
    2021-01-11 15:36

    Html.ActionLink is just a plain old Extension Method to the HtmlHelper object.

    You can create your own custom extension methods for HtmlHelper as well, and they're pretty simple to do and will save you tons of time.

提交回复
热议问题